diff --git a/assets/javascripts/templates/pages/help_tmpl.coffee b/assets/javascripts/templates/pages/help_tmpl.coffee index 530f9435..daca8d46 100644 --- a/assets/javascripts/templates/pages/help_tmpl.coffee +++ b/assets/javascripts/templates/pages/help_tmpl.coffee @@ -1,6 +1,7 @@ app.templates.helpPage = -> ctrlKey = if $.isMac() then 'cmd' else 'ctrl' navKey = if $.isMac() then 'cmd' else 'alt' + arrowScroll = app.settings.get('arrowScroll') aliases_one = {} aliases_two = {} @@ -66,12 +67,12 @@ app.templates.helpPage = ->
shift
+ ' else ''}
+ #{if arrowScroll then 'shift
+ ' else ''}
↓
↑
shift
+ ' else ''}
+ #{if arrowScroll then 'shift
+ ' else ''}
→
←
#{navKey} + →
↓
' +
'↑
'
else
diff --git a/assets/javascripts/templates/tip_tmpl.coffee b/assets/javascripts/templates/tip_tmpl.coffee
index 227ebf5d..55979fa4 100644
--- a/assets/javascripts/templates/tip_tmpl.coffee
+++ b/assets/javascripts/templates/tip_tmpl.coffee
@@ -3,8 +3,8 @@ app.templates.tipKeyNav = () -> """
ProTip
(click to dismiss)
- Hit #{if app.settings.cache.arrowScroll then 'shift
+' else ''} ↓
↑
←
→
to navigate the sidebar.
- Hit space / shift space
#{if app.settings.cache.arrowScroll then ' or ↓/↑
' else ', alt ↓/↑
or shift ↓/↑
'} to scroll the page.
+ Hit #{if app.settings.get('arrowScroll') then 'shift
+' else ''} ↓
↑
←
→
to navigate the sidebar.
+ Hit space / shift space
#{if app.settings.get('arrowScroll') then ' or ↓/↑
' else ', alt ↓/↑
or shift ↓/↑
'} to scroll the page.