Fixed jshint warnings

This commit is contained in:
Marcin Kurczewski 2015-05-08 18:39:45 +02:00
parent 19e7fa94f7
commit f8851bf26d

View file

@ -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;
}
}