Removed unsafe comparison in javascript

Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
fnuesse 2018-10-01 00:02:52 +02:00
parent b03e975c48
commit 2b22daeece
No known key found for this signature in database
GPG key ID: 2089A3431243E819

View file

@ -337,7 +337,7 @@
native_search.classList.remove('hidden');
native_search.addEventListener('keypress', function (e) {
if(e.keyCode == 13){
if(e.keyCode === 13){
e.preventDefault();
}
});