Difference between revisions of "MediaWiki:Common.js"

added "all"
(maybe will work)
Tag: Reverted
(added "all")
Tag: Reverted
Line 115: Line 115:
  */
  */
   
   
document.querySelector("#prettybutton").click(function() {
document.querySelectorAll("#prettybutton").click(function() {
   document.querySelector("#prettybutton").setAttribute('prettybutton-clicked');
   document.querySelectorAll("#prettybutton").setAttribute('prettybutton-clicked');
});
});