summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-24 01:20:04 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-24 01:20:04 -0800
commitbf58b0a17048097adf1bb01597cc4646122aec3e (patch)
tree1d49ee5f7943d5ddc2f3271f4dc84ea19be29ade
parent098c862fb2e641be19a05e69364f9612b6069a3a (diff)
downloadtempo-bf58b0a17048097adf1bb01597cc4646122aec3e.tar.gz
tempo-bf58b0a17048097adf1bb01597cc4646122aec3e.tar.xz
Disable right-click context menu.
-rw-r--r--tempo.js2
1 files changed, 2 insertions, 0 deletions
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()});