mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 21:14:33 +00:00
Capitalize event name
This commit is contained in:
parent
2f33ecf37b
commit
851c02acb0
@ -14,7 +14,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('addTrackersButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -62,7 +62,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('applyButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -14,7 +14,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('editTrackerButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -33,7 +33,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(e) {
|
||||
'Enter': function(e) {
|
||||
// accept enter key as a click
|
||||
new Event(e).stop();
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('categoryNameButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -14,7 +14,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('renameButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -202,7 +202,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(e) {
|
||||
'Enter': function(e) {
|
||||
// accept enter key as a click
|
||||
new Event(e).stop();
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('setLocationButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -17,7 +17,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('save').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
@ -62,7 +62,7 @@
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function(event) {
|
||||
'Enter': function(event) {
|
||||
$('applyButton').click();
|
||||
event.preventDefault();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user