MediaWiki:Gadget-defaultVisibilityToggles.js: Difference between revisions
Created page with "→jshint undef: true, esversion: 5: →globals $, jQuery, mw, window, getComputedStyle: (function defaultVisibilityTogglesIIFE() { "use strict"; if (window.noDefaultVisibilityToggles) return; →== NavBars ==: var NavigationBarHide = "hide ▲"; var NavigationBarShow = "show ▼"; // Check if an element has been activated with a toggle. // For convenience, this has the side effect of marking the element as having // a toggle, if it is not already ma..." |
No edit summary |
||
| Line 178: | Line 178: | ||
var HQToggle, liComp, dl; | var HQToggle, liComp, dl; | ||
var HQShow = " | var HQShow = "quotations ▼"; | ||
var HQHide = " | var HQHide = "quotations ▲"; | ||
function show() { | function show() { | ||
HQToggle.html(HQHide); | HQToggle.html(HQHide); | ||