correctly handle additional non-left-mouse-button clicks

Este commit está contenido en:
Conduitry 2017-03-15 16:54:55 -04:00
padre b3d383184f
commit 74a75e0074
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -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