You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/10/20 17:11:40 UTC
[whimsy] branch master updated: fix whimsy- 147
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 5f9cb42 fix whimsy- 147
5f9cb42 is described below
commit 5f9cb42db2a2839db5a23128acb9f4e4177e46c8
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Oct 20 13:08:39 2017 -0400
fix whimsy- 147
keyboard handler wasn't updated when I updated to bootstrap (in May!)
also eliminate exception for alt/option key as I can't see where that is used
---
www/board/agenda/views/keyboard.js.rb | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/www/board/agenda/views/keyboard.js.rb b/www/board/agenda/views/keyboard.js.rb
index 2ada088..c388b56 100644
--- a/www/board/agenda/views/keyboard.js.rb
+++ b/www/board/agenda/views/keyboard.js.rb
@@ -8,9 +8,7 @@ class Keyboard
# keyboard navigation (unless on the search screen)
def (document.body).onkeydown(event)
return if document.getElementById('search-text') or
- document.querySelector('modal-open') or
- document.querySelector('modal-in')
- return if not event.altKey and
+ document.querySelector('.modal.in') or
%w(input textarea).include? document.activeElement.tagName.downcase()
return if event.metaKey or event.ctrlKey
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].