MediaWiki:Common.js: Difference between revisions

m
second fix. Should work now.
m (fixing code)
m (second fix. Should work now.)
Line 4: Line 4:
{
{
   var script  = document.createElement( 'script' );
   var script  = document.createElement( 'script' );
   script.src  = '/index.php?title=User:Poke/CollapsibleTables.js&action=raw&ctype=text/javascript';
   script.src  = '/w/index.php?title=User:Poke/CollapsibleTables.js&action=raw&ctype=text/javascript';
   script.type = 'text/javascript';
   script.type = 'text/javascript';
   document.getElementsByTagName( 'head' )[0].appendChild( script );
   document.getElementsByTagName( 'head' )[0].appendChild( script );
2,743

edits