mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06: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:
parent
580f36f0de
commit
dcde4feef3
1 changed files with 0 additions and 2 deletions
|
@ -73,8 +73,6 @@ document.addEventListener("keydown", function (event) {
|
||||||
} else {
|
} else {
|
||||||
document.activeElement.click();
|
document.activeElement.click();
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
event.preventDefault();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue