Browse Source

correctly handle additional non-left-mouse-button clicks

master
Conduitry 3 years ago
parent
commit
74a75e0074
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      story.js

+ 1
- 1
story.js View File

@ -55,7 +55,7 @@ function informWatchers() {
}
function clickHandler(event) {
if (event.ctrlKey || event.metaKey || event.shiftKey || event.which === 2 ) {
if (event.ctrlKey || event.metaKey || event.shiftKey || event.which !== 1 ) {
return
}
let elm = event.target

Loading…
Cancel
Save