MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1,306: Line 1,306:


   function updatePrintSelectionUI() {
   function updatePrintSelectionUI() {
     var hasActiveFilters = jQuery("#filters .values button.active").length > 0;
     var activeCount = jQuery("#filters .values button.active").length;
    console.log("updatePrintSelectionUI activeCount:", activeCount);


     if (hasActiveFilters) {
     if (activeCount > 0) {
         jQuery("#print-selection-wrapper").show();
         jQuery("#print-selection-wrapper").show();
     } else {
     } else {

Navigation menu