History

Change alt+tab shortcut to alt+rarr

Thibaut committed 12 years ago

Commit 6cfc8fc1 parent fa0941a3 files · +6 −4Browse files

Showing the changes to assets/javascripts/views (1 of 3 files). Show all

Unified · Split

assets/javascripts/views/content/content.coffee+2−2
@@ -12,7 +12,7 @@ class app.views.Content extends app.View · 11 unmodified lines
12 pageDown: 'scrollPageDown'12 pageDown: 'scrollPageDown'
13 home: 'scrollToTop'13 home: 'scrollToTop'
14 end: 'scrollToBottom'14 end: 'scrollToBottom'
15 altTab: 'onAltTab'15 altRight: 'onAltRight'
16 16
17 @routes:17 @routes:
18 before: 'beforeRoute'18 before: 'beforeRoute'
@@ -151,7 +151,7 @@ class app.views.Content extends app.View · 132 unmodified lines
151 $.popup(link)151 $.popup(link)
152 return152 return
153 153
154 onAltTab: (event) =>154 onAltRight: (event) =>
155 unless document.activeElement and $.hasChild @el, document.activeElement155 unless document.activeElement and $.hasChild @el, document.activeElement
156 @findByTag('a').focus()156 @findByTag('a').focus()
157 $.stopEvent(event)157 $.stopEvent(event)