Difference between revisions of "MediaWiki:Common.js"

m
Reverted edits by BlueYoshi 57EML (talk) to last revision by Coz
(Undo revision 13586 by BlueYoshi 57EML (talk) uh oh)
Tags: Undo Reverted
m (Reverted edits by BlueYoshi 57EML (talk) to last revision by Coz)
Tag: Rollback
Line 108: Line 108:
         };
         };
})();
})();
/** prettybutton **************************************
*
* Description:  if button is clicked, add prettybutton-clicked. if clicked again, remove it
* Maintainers:
*/
document.querySelector("#mw-customcollapsible-2005CD"); {
  document.querySelector(".mw-collapsed"); {
    document.querySelector(".mw-customtoggle-2005CD").setAttribute('prettybutton-clicked');
}
}