MediaWiki:Gadget-togglePatrollerRequests.js

// A toggle script for hiding "patrol-requests". // This is basically just a function for hiding a heading with underlying conversation. // // Created by User:Jack McKalling

// append script to document $(document).ready(function {	// create handler for displaying hideable patrol requests   $(".patrol-request-toggle-show").on("click", function { $(".patrol-request-hide").show; });    // create handler for hiding hideable patrol requests    $(".patrol-request-toggle-hide").on("click", function { $(".patrol-request-hide").hide; }); });