refactor: Extract settings_toggle.js.

This mostly moves code, and we also abandon the lookup mechanism
for finding our toggler.
This commit is contained in:
Steve Howell
2018-04-14 14:06:51 +00:00
committed by Tim Abbott
parent 02dddd6b35
commit f73bfd2a5c
7 changed files with 55 additions and 30 deletions

View File

@@ -270,6 +270,7 @@ $(function () {
notifications.initialize();
gear_menu.initialize();
settings_sections.initialize();
settings_toggle.initialize();
hashchange.initialize();
pointer.initialize();
unread_ui.initialize();