1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Merge pull request #12837 from Piccirello/webui-textarea-enter

Fix Enter button behavior in web UI textarea
This commit is contained in:
Mike Tzou 2020-05-14 22:11:31 +08:00 committed by GitHub
commit 5470ae8c1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,6 @@
new Keyboard({
defaultEventType: 'keydown',
events: {
'Enter': function(event) {
$('addTrackersButton').click();
event.preventDefault();
},
'Escape': function(event) {
window.parent.closeWindows();
event.preventDefault();