From bf58b0a17048097adf1bb01597cc4646122aec3e Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 24 Feb 2014 01:20:04 -0800 Subject: Disable right-click context menu. --- tempo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tempo.js b/tempo.js index 2323d3f..0a60e6e 100644 --- a/tempo.js +++ b/tempo.js @@ -35,3 +35,5 @@ function startTempo() { } window.onload = startTempo; + +document.addEventListener('contextmenu', function(e) {e.preventDefault()}); -- cgit v1.2.3-70-g09d2