summaryrefslogtreecommitdiffstats
path: root/js/app/directives/itemshortcuts.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/directives/itemshortcuts.coffee')
-rw-r--r--js/app/directives/itemshortcuts.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/app/directives/itemshortcuts.coffee b/js/app/directives/itemshortcuts.coffee
index 49dc75b37..8eec1bf0a 100644
--- a/js/app/directives/itemshortcuts.coffee
+++ b/js/app/directives/itemshortcuts.coffee
@@ -102,8 +102,7 @@ angular.module('News').directive 'itemShortcuts', ['$window', ($window) ->
if not (focused.is('input') or
focused.is('select') or
focused.is('textarea') or
- focused.is('checkbox') or
- focused.is('button'))
+ focused.is('checkbox'))
# activate shortcuts only if modifier keys are not pressed
if not(e.shiftKey or e.altKey or e.ctrlKey or e.metaKey)