diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-24 01:20:04 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-24 01:20:04 -0800 |
commit | bf58b0a17048097adf1bb01597cc4646122aec3e (patch) | |
tree | 1d49ee5f7943d5ddc2f3271f4dc84ea19be29ade | |
parent | 098c862fb2e641be19a05e69364f9612b6069a3a (diff) | |
download | tempo-bf58b0a17048097adf1bb01597cc4646122aec3e.tar.gz tempo-bf58b0a17048097adf1bb01597cc4646122aec3e.tar.xz |
Disable right-click context menu.
-rw-r--r-- | tempo.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,3 +35,5 @@ function startTempo() { } window.onload = startTempo; + +document.addEventListener('contextmenu', function(e) {e.preventDefault()}); |