its not a button ok

This commit is contained in:
ix 2015-01-07 19:59:42 +01:00
parent 66734193b0
commit 054ece5aed
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ $(document).on "click", "button[name=qb-all-ask]", ->
# hotkey for accessing this quickly # hotkey for accessing this quickly
$(document).on "keydown", (evt) -> $(document).on "keydown", (evt) ->
if evt.keyCode == 77 and (evt.ctrlKey or evt.metaKey) if evt.keyCode == 77 and (evt.ctrlKey or evt.metaKey)
$('button[name=toggle-all-ask]').trigger 'click' $('.btn[name=toggle-all-ask]').trigger 'click'
# see GitHub issue #2 # see GitHub issue #2
($ document).on "keydown", "textarea[name=qb-all-question]", (evt) -> ($ document).on "keydown", "textarea[name=qb-all-question]", (evt) ->