From 1347934c8c461813486d2c4a4dfa93754c1c64c0 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Tue, 10 Mar 2015 18:47:52 +0000 Subject: [PATCH] Allow right click on page outside the game board --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index af21f6d..6be6eeb 100644 --- a/index.html +++ b/index.html @@ -602,7 +602,7 @@ clearTimeout(timeout); } - $(document).on("contextmenu", "*", function(event) { + $(document).on("contextmenu", "body", function(event) { event.preventDefault(); });