Difference between revisions of "MediaWiki:Common.js"

testing again
m (Reverted edits by BlueYoshi 57EML (talk) to last revision by Coz)
Tags: Rollback Reverted
(testing again)
Tag: Reverted
Line 108: Line 108:
         };
         };
})();
})();
/** prettybutton **************************************
*
* Description:  if button is clicked, add prettybutton-clicked. if clicked again, remove it
* Maintainers:
*/
document.querySelector("#prettybutton").click(function() {
  document.querySelector("#prettybutton").addClass('prettybutton-clicked');
});