Allow right click on page outside the game board
This commit is contained in:
parent
101ae1867f
commit
1347934c8c
|
@ -602,7 +602,7 @@
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on("contextmenu", "*", function(event) {
|
$(document).on("contextmenu", "body", function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue