Wikipedista:Miraceti/vector.js.old

Z Wikipedie, otevřené encyklopedie

// User:Lupin/popups.js - please include this line // however, below is just my mod...

mw.loader.load(

            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
            + '&action=raw&ctype=text/javascript&dontcountme=s');

simplePopups=false; popupAdminLinks=true;


$(function() {

   var spans = document.getElementsByTagName("span");
   for (var i=0; i<spans.length -1; i++) {
       var span = spans[i];
       if (span.className != "editsection")    continue;
       span.style.fontSize = "x-small";
       span.style.fontWeight = "normal";
       span.style.styleFloat = "none"; // IE-Fix für die folgende Zeile
       span.style.cssFloat = "none";
       span.style.marginLeft = "0px";
       span.parentNode.appendChild(document.createTextNode(" "));
       span.parentNode.appendChild(span);
   }

});