1
0
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:
Thomas Piccirello 2019-01-13 22:02:07 -08:00
parent 2f33ecf37b
commit 851c02acb0
10 changed files with 10 additions and 10 deletions

View File

@ -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();
}, },

View File

@ -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();
}, },

View File

@ -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();
}, },

View File

@ -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();

View File

@ -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();
}, },

View File

@ -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();
}, },

View File

@ -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();

View File

@ -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();
}, },

View File

@ -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();
}, },

View File

@ -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();
}, },