Web
Analytics
Join the HITS Discord and leave your suggestions for this wiki, talk about your edits, or just chat with fellow Tally Hall fans!

Difference between revisions of "MediaWiki:Common.js"

Jump to navigation Jump to search
I do not know anything about javascript. This is going to be fun.
(I do not know anything about javascript. This is going to be fun.)
Tag: Reverted
Line 108: Line 108:
         };
         };
})();
})();
/** prettybutton **************************************
*
* Description:  if button is clicked, add prettybutton-clicked. if clicked again, remove it
* Maintainers:
*/
$("#prettybutton").click(function() {
  $("#prettybutton").addClass('prettybutton-clicked');
});
$("#prettybutton-clicked").click(function() {
  $("#prettybutton-clicked").removeClass('prettybutton-clicked');
});

Navigation menu