MediaWiki:Common.js: Difference between revisions

134 bytes removed ,  12:05, 8 November 2014
looks more or less ok, removing leftovers
mNo edit summary
(looks more or less ok, removing leftovers)
Line 262: Line 262:
     for (var i=0;i<MyClasses.length;i++) {
     for (var i=0;i<MyClasses.length;i++) {
         str=MyClasses[i].innerHTML;
         str=MyClasses[i].innerHTML;
alert(str.replace(/(<p>|<\/p>)/gmi,""));
         MyClasses[i].innerHTML=str.replace(/(<p>|<\/p>)/gmi,"");
         MyClasses[i].innerHTML=str.replace(/(<p>|<\/p>)/gmi,"");


Line 274: Line 273:
         var ButtonLink=document.createElement("a");
         var ButtonLink=document.createElement("a");
         var ButtonText=document.createTextNode("...");
         var ButtonText=document.createTextNode("...");
        //Button.style.backgroundColor="#90E0FF";
        //Button.style.fontStyle="italic";
         Button.style.fontWeight="bold";
         Button.style.fontWeight="bold";
         Button.style.fontSize="smaller";
         Button.style.fontSize="smaller";
67,235

edits