MediaWiki:Common.js: Difference between revisions

20 bytes added ,  12:07, 8 November 2014
m
no edit summary
(looks more or less ok, removing leftovers)
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;
         MyClasses[i].innerHTML=str.replace(/(<p>|<\/p>)/gmi,"");
         MyClasses[i].innerHTML=str.replace(/(<p>|<\/p>|<br>|<br\/>|<br \/>)/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,235

edits