mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-23 03:46:14 +08:00
Removed unsafe comparison in javascript
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
parent
81976154ec
commit
f92885a539
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@
|
||||||
|
|
||||||
native_search.classList.remove('hidden');
|
native_search.classList.remove('hidden');
|
||||||
native_search.addEventListener('keypress', function (e) {
|
native_search.addEventListener('keypress', function (e) {
|
||||||
if(e.keyCode == 13){
|
if(e.keyCode === 13){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue