Extract info_overlay.js.

There are several ways we open help for keyboard shortcuts,
markdown help, and search operators.

    - from the gear menu
    - from the compose box
    - from the search box
    - hitting ? for keyboard help
    - arrowing/clicking through the tabs

This just moves the relevant code into a module and changes a
bunch of one-line calls in various places.
This commit is contained in:
Steve Howell
2018-03-30 08:09:11 -04:00
committed by Tim Abbott
parent efeee28b12
commit 9ce9c2f9db
9 changed files with 95 additions and 78 deletions

View File

@@ -281,6 +281,7 @@ $(function () {
drafts.initialize();
sent_messages.initialize();
hotspots.initialize();
info_overlay.initialize();
ui.initialize();
panels.initialize();
typing.initialize();