MediaWiki:Common.js: Difference between revisions
From Seven Sages of Rome
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 3: | Line 3: | ||
$('<br /><h3 class="drilldown-pre-header">1. Selected Filters</h3>').insertBefore("#drilldown-header"), | $('<br /><h3 class="drilldown-pre-header">1. Selected Filters</h3>').insertBefore("#drilldown-header"), | ||
$('<h3 class="drilldown-pre-filters">2. Availble Filters</h3>').insertBefore(".drilldown-filters"), | $('<h3 class="drilldown-pre-filters">2. Availble Filters</h3>').insertBefore(".drilldown-filters"), | ||
$('<h3 class="drilldown-post-filters">3. | $('<h3 class="drilldown-post-filters">3. Filtered Results</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">Expand all filters <i class="fa fa-plus"></i></a></div></html>' | '<htmL><div class="button-wrapper"><a class="btn btn-sm drilldown-btn-test thar-three" href="javascript:;" onclick="drilldownswitcher()" id="drilldown-switch">Expand all filters <i class="fa fa-plus"></i></a></div></html>' | ||
).insertBefore(".drilldown-filters"); | ).insertBefore(".drilldown-filters"); | ||
}) | }) |
Revision as of 21:43, 12 February 2024
$(document).ready(function () {
$("#drilldown-header").next().remove(),
$('<br /><h3 class="drilldown-pre-header">1. Selected Filters</h3>').insertBefore("#drilldown-header"),
$('<h3 class="drilldown-pre-filters">2. Availble Filters</h3>').insertBefore(".drilldown-filters"),
$('<h3 class="drilldown-post-filters">3. Filtered Results</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">Expand all filters <i class="fa fa-plus"></i></a></div></html>'
).insertBefore(".drilldown-filters");
})