diff --git a/assets/javascripts/templates/tip_tmpl.coffee b/assets/javascripts/templates/tip_tmpl.coffee index 9436497e..227ebf5d 100644 --- a/assets/javascripts/templates/tip_tmpl.coffee +++ b/assets/javascripts/templates/tip_tmpl.coffee @@ -1,10 +1,10 @@ -app.templates.tipKeyNav = """ +app.templates.tipKeyNav = () -> """
ProTip (click to dismiss)
- Hit ↓
↑
←
→
to navigate the sidebar.
- Hit space / shift space
, alt ↓/↑
or shift ↓/↑
to scroll the page.
+ 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.