From 33db8e1f24128018046e5f3411214326d821c71c Mon Sep 17 00:00:00 2001 From: Wayne Chen Date: Wed, 26 Sep 2018 16:40:43 -0700 Subject: [PATCH] only allow right-click for buttons --- scripts/system/redirectOverlays.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/system/redirectOverlays.js b/scripts/system/redirectOverlays.js index 165e8ae27a..66b338e49c 100644 --- a/scripts/system/redirectOverlays.js +++ b/scripts/system/redirectOverlays.js @@ -118,6 +118,10 @@ } function clickedOnOverlay(overlayID, event) { + if (event.isRightButton) { + // don't allow right-clicks. + return; + } if (tryAgainImage === overlayID) { location.goToLastAddress(); } else if (backImage === overlayID) {