MediaWiki:Common.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m $j è deprecato, uso $
m evito uso di bodyContent che non funziona con tutte le skin
Riga 259:
// Serve per far funzionare il Cassetto2 con IE6.
if (window.attachEvent && !window.XMLHttpRequest) window.attachEvent("onload", function() {
var x =document mw.getElementByIdutil.$content.get("bodyContent"0).getElementsByTagName("div");
for (var i=0; i<x.length; i++) {
if (x[i].className != "HopFrame") continue;
Riga 628:
function ImageGroup(){
if (document.___URL.match(/printable/g)) return;
var bc=documentmw.getElementByIdutil.$content.get("bodyContent"0);
var divs=bc.getElementsByTagName("div");
var i = 0, j = 0;