Commit 173f3510 by NGUYEN HOANG SON

fix bug initDisplays when load setting

parent 854f7e6b
...@@ -66,13 +66,13 @@ CHK_DashboardSetting.bindToggleClick = function() { ...@@ -66,13 +66,13 @@ CHK_DashboardSetting.bindToggleClick = function() {
CHK_DashboardSetting.init = function() { CHK_DashboardSetting.init = function() {
CHK.initCommon(); CHK.initCommon();
CHK_DashboardSetting.initDisplays();
CHK_DashboardSetting.bindToggleClick();
$("#footer").load("main-footer.html", function() { $("#footer").load("main-footer.html", function() {
CHK_Footer.activeDashboardBottomNav(); CHK_Footer.activeDashboardBottomNav();
}); });
CHK.loadDashboardSetting(function() { CHK.loadDashboardSetting(function() {
CHK_DashboardSetting.loadSettings(); CHK_DashboardSetting.loadSettings();
CHK_DashboardSetting.initDisplays();
CHK_DashboardSetting.bindToggleClick();
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment