MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 627: Line 627:
     updateViews(cardSelector);
     updateViews(cardSelector);
     updatePrintSelectionUI();
     updatePrintSelectionUI();
    hidePrintSelectionOptions();
   }
   }


Line 701: Line 702:


     filterCards();
     filterCards();
    hidePrintSelectionOptions();
   });
   });


Line 1,309: Line 1,311:
         }
         }
     });
     });
  }
  function hidePrintSelectionOptions() {
    jQuery("#print-selection-options").hide();
   }
   }


Line 1,780: Line 1,786:
   // hide choices on ESC
   // hide choices on ESC
   jQuery(document).on("keydown.swprint", function (e) {
   jQuery(document).on("keydown.swprint", function (e) {
     if (e && e.keyCode === 27) swHidePrintUI();
     if (e && e.keyCode === 27) {
        swHidePrintUI();
        hidePrintSelectionOptions();
    }
   });
   });


Line 2,022: Line 2,031:


   updatePrintSelectionUI();
   updatePrintSelectionUI();
  hidePrintSelectionOptions();
});
});

Navigation menu