commit ca70559eb0de467419bec4667d3f7ab3954c5e71 parent 84e0f380ac771ac10bc41c353d3d3fcbe651da6e Author: Hugo Soucy <hugo@soucy.cc> Date: Wed, 27 Sep 2017 11:05:15 -0400 Focus the nav button if the nav panel is focus Diffstat:
M | static/dev/js/custom/init.js | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/static/dev/js/custom/init.js b/static/dev/js/custom/init.js @@ -55,6 +55,12 @@ function setNavigation() { $nav_close.focus(); } ); + + du.setEvent( + $nav_panel, 'focus', function() { + $nav_button.focus(); + } + ); } }