MediaWiki:Common.js

From Seven Sages of Rome
Revision as of 21:42, 12 February 2024 by Noeth (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
$(document).ready(function () {
    $("#drilldown-header").next().remove(),
        $('<br /><h3 class="drilldown-pre-header">1. Gesetzte Filter</h3>').insertBefore("#drilldown-header"),
        $('<h3 class="drilldown-pre-filters">2. Verfügbare Filteroptionen</h3>').insertBefore(".drilldown-filters"),
        $('<h3 class="drilldown-post-filters">3. Anwendung der Filter</h3>').insertAfter(".drilldown-filters"),
        $(
            '<htmL><div class="button-wrapper"><a class="btn btn-sm drilldown-btn-test thar-three" href="javascript:;" onclick="drilldownswitcher()" id="drilldown-switch">Alle Filter ausklappen <i class="fa fa-plus"></i></a></div></html>'
        ).insertBefore(".drilldown-filters");
})