settings: Lazy-load settings sections.

For the settings UI, we now wait until a user goes to a particular
settings section before calling the appropriate function to set
up the section (which usually involves setting up click handlers
and populating initial data).
This commit is contained in:
Steve Howell
2017-04-06 16:30:13 -07:00
committed by Tim Abbott
parent c4b4979a74
commit 06f9c28fd2
6 changed files with 54 additions and 8 deletions

View File

@@ -257,6 +257,7 @@ $(function () {
activity.initialize();
emoji.initialize();
hotspots.initialize();
settings_sections.initialize();
});