mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
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
|
||||
$(document).keydown(function(event) {
|
||||
// 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();
|
||||
if (stopped === false) {
|
||||
stopped = true;
|
||||
|
@ -643,7 +643,7 @@ function liveUpdate(src) {
|
|||
|
||||
function updateItem(itemNo) {
|
||||
force_update = true;
|
||||
update_item = itemNo;
|
||||
update_item = itemNo;
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
|
|
Loading…
Reference in a new issue