correctly handle additional non-left-mouse-button clicks
Dieser Commit ist enthalten in:
Ursprung
b3d383184f
Commit
74a75e0074
2
story.js
2
story.js
|
@ -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
|
||||
|
|
Laden…
In neuem Issue referenzieren