mirror of https://github.com/freeCodeCamp/devdocs
parent
ee66e4c139
commit
08f78601e6
@ -1,10 +1,10 @@
|
||||
app.templates.tipKeyNav = """
|
||||
app.templates.tipKeyNav = () -> """
|
||||
<p class="_notif-text">
|
||||
<strong>ProTip</strong>
|
||||
<span class="_notif-info">(click to dismiss)</span>
|
||||
<p class="_notif-text">
|
||||
Hit <code class="_label">↓</code> <code class="_label">↑</code> <code class="_label">←</code> <code class="_label">→</code> to navigate the sidebar.<br>
|
||||
Hit <code class="_label">space / shift space</code>, <code class="_label">alt ↓/↑</code> or <code class="_label">shift ↓/↑</code> to scroll the page.
|
||||
Hit #{if app.settings.cache.arrowScroll then '<code class="_label">shift</code> +' else ''} <code class="_label">↓</code> <code class="_label">↑</code> <code class="_label">←</code> <code class="_label">→</code> to navigate the sidebar.<br>
|
||||
Hit <code class="_label">space / shift space</code>#{if app.settings.cache.arrowScroll then ' or <code class="_label">↓/↑</code>' else ', <code class="_label">alt ↓/↑</code> or <code class="_label">shift ↓/↑</code>'} to scroll the page.
|
||||
<p class="_notif-text">
|
||||
<a href="/help#shortcuts" class="_notif-link">See all keyboard shortcuts</a>
|
||||
"""
|
||||
|
Loading…
Reference in new issue