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