Fixed jshint warnings
This commit is contained in:
parent
19e7fa94f7
commit
f8851bf26d
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ App.Keyboard = function(jQuery, mousetrap) {
|
|||
if ($focused.prop('tagName').match(/embed|object/i)) {
|
||||
return true;
|
||||
}
|
||||
if ($focused.prop('tagName').toLowerCase() === 'input'
|
||||
&& $focused.attr('type').match(/checkbox|radio/i)) {
|
||||
if ($focused.prop('tagName').toLowerCase() === 'input' &&
|
||||
$focused.attr('type').match(/checkbox|radio/i)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue