Replace some !=s with !==
This commit is contained in:
parent
dfb83aff53
commit
6476390d4b
5
popup.js
5
popup.js
|
@ -450,7 +450,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
});
|
});
|
||||||
//Workaround to prevent letters from triggering events.
|
//Workaround to prevent letters from triggering events.
|
||||||
filterInput.addEventListener('keydown', function(event){
|
filterInput.addEventListener('keydown', function(event){
|
||||||
if (event.keyCode!=40 && event.keyCode!=38 && event.keyCode!=13 && event.keyCode!=33 && event.keyCode!=34){
|
if (event.keyCode!==40 && event.keyCode!==38 && event.keyCode!==13 && event.keyCode!==33 && event.keyCode!==34){
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
if (event.keyCode===16){
|
if (event.keyCode===16){
|
||||||
|
@ -709,7 +709,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
'cancellable':true
|
'cancellable':true
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue