Exclude Apple keyboard Meta key from the Pause shortcut
This commit is contained in:
parent
4c402f6af4
commit
886e231091
1 changed files with 2 additions and 2 deletions
|
@ -379,7 +379,7 @@ $(function() {
|
||||||
// Allow folks to stop the ajax page updates with the pause/break key
|
// Allow folks to stop the ajax page updates with the pause/break key
|
||||||
$(document).keydown(function(event) {
|
$(document).keydown(function(event) {
|
||||||
// Pause/Break or Ctrl + Space
|
// Pause/Break or Ctrl + Space
|
||||||
if (event.which === 19 || (!event.shiftKey && !event.altKey && event.ctrlKey && event.which === 32)) {
|
if (event.which === 19 || (!event.metaKey && !event.shiftKey && !event.altKey && event.ctrlKey && event.which === 32)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (stopped === false) {
|
if (stopped === false) {
|
||||||
stopped = true;
|
stopped = true;
|
||||||
|
@ -643,7 +643,7 @@ function liveUpdate(src) {
|
||||||
|
|
||||||
function updateItem(itemNo) {
|
function updateItem(itemNo) {
|
||||||
force_update = true;
|
force_update = true;
|
||||||
update_item = itemNo;
|
update_item = itemNo;
|
||||||
}
|
}
|
||||||
|
|
||||||
function imgbright(node) {
|
function imgbright(node) {
|
||||||
|
|
Loading…
Reference in a new issue