mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-22 11:45:22 +00:00
Do not prevent default for Enter
Do not prevent default for "Enter" if search is not visible. Old logic would prevent comment system adding new line using "Enter"
This commit is contained in:
1 parent
580f36f0de
commit
dcde4feef3
1 file changed
-2
@@ -73,8 +73,6 @@ document.addEventListener("keydown", function (event) {
|
||||
} else {
|
||||
document.activeElement.click();
|
||||
}
|
||||
}else{
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user