Unified · Split
| @@ -96,10 +96,12 @@ class app.Shortcuts · 95 unmodified lines | ||
| 96 | 96 | handleKeydownAltEvent: (event) -> |
| 97 | 97 | switch event.which |
| 98 | 98 | when 9 |
| 99 | − @trigger 'altTab', event | |
| 99 | + @trigger 'altRight', event | |
| 100 | 100 | when 38 |
| 101 | 101 | @trigger 'altUp' |
| 102 | 102 | false |
| 103 | + when 39 | |
| 104 | + @trigger 'altRight', event | |
| 103 | 105 | when 40 |
| 104 | 106 | @trigger 'altDown' |
| 105 | 107 | false |
| @@ -78,7 +78,7 @@ app.templates.helpPage = """ · 77 unmodified lines | ||
| 78 | 78 | <h3 class="_shortcuts-title">Misc</h3> |
| 79 | 79 | <dl class="_shortcuts-dl"> |
| 80 | 80 | <dt class="_shortcuts-dt"> |
| 81 | − <code class="_shortcut-code">alt + tab</code> | |
| 81 | + <code class="_shortcut-code">alt + →</code> | |
| 82 | 82 | <dd class="_shortcuts-dd">Focus first link in the content area<br>(press tab to focus the other links) |
| 83 | 83 | <dt class="_shortcuts-dt"> |
| 84 | 84 | <code class="_shortcut-code">alt + r</code> |
| @@ -12,7 +12,7 @@ class app.views.Content extends app.View · 11 unmodified lines | ||
| 12 | 12 | pageDown: 'scrollPageDown' |
| 13 | 13 | home: 'scrollToTop' |
| 14 | 14 | end: 'scrollToBottom' |
| 15 | − altTab: 'onAltTab' | |
| 15 | + altRight: 'onAltRight' | |
| 16 | 16 | |
| 17 | 17 | @routes: |
| 18 | 18 | before: 'beforeRoute' |
| @@ -151,7 +151,7 @@ class app.views.Content extends app.View · 132 unmodified lines | ||
| 151 | 151 | $.popup(link) |
| 152 | 152 | return |
| 153 | 153 | |
| 154 | − onAltTab: (event) => | |
| 154 | + onAltRight: (event) => | |
| 155 | 155 | unless document.activeElement and $.hasChild @el, document.activeElement |
| 156 | 156 | @findByTag('a').focus() |
| 157 | 157 | $.stopEvent(event) |