mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Merge pull request #12837 from Piccirello/webui-textarea-enter
Fix Enter button behavior in web UI textarea
This commit is contained in:
commit
5470ae8c1a
1 changed files with 0 additions and 4 deletions
|
@ -14,10 +14,6 @@
|
||||||
new Keyboard({
|
new Keyboard({
|
||||||
defaultEventType: 'keydown',
|
defaultEventType: 'keydown',
|
||||||
events: {
|
events: {
|
||||||
'Enter': function(event) {
|
|
||||||
$('addTrackersButton').click();
|
|
||||||
event.preventDefault();
|
|
||||||
},
|
|
||||||
'Escape': function(event) {
|
'Escape': function(event) {
|
||||||
window.parent.closeWindows();
|
window.parent.closeWindows();
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue