mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed jshint warnings
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user