mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-17 00:46:02 +08:00
Removed unsafe comparison in javascript
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
parent
b03e975c48
commit
2b22daeece
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue