Fixed 'use shortcuts' button on docs
Compare changes
Files
2- Luke Bennett authored
Removed from window and used static method
@@ -9,12 +9,12 @@ class @Shortcuts
Exposes 'onToggleHelp() to window object through showHelp()
so a help panel can be toggled globally using showHelp()
.
Is this the best implementation? I actually think this is tidier than doing something like onclick="new Shortcuts().onToggleHelp"
or $.trigger 'keydown', char: '?'
but let me know.
Docs UX
Closes #19157 (closed).
master
(if you do - rebase it please)Removed from window and used static method