MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
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>|<\u2Fp>)/gmi,""));
alert(str.replace(/(<p>|<\/p>)/gmi,""));
         MyClasses[i].innerHTML=str.replace(/(<p>|<\u2Fp>)/gmi,"");
         MyClasses[i].innerHTML=str.replace(/(<p>|<\/p>)/gmi,"");


         //should contain two spans: pcsx2_collapsible_text_part and pcsx2_collapsible_text_full
         //should contain two spans: pcsx2_collapsible_text_part and pcsx2_collapsible_text_full
67,362

edits

Navigation menu