Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
[#253] explicitly set debug flag to true, moved the call to the track…
Browse files Browse the repository at this point in the history
…AppOpened function into the checkToolbarEnabled function's callback
  • Loading branch information
hermwong committed Dec 12, 2014
1 parent a38bbf0 commit 030951a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
global.isServerRunning = false;
global.allowRemoveNotification = "false";
global.createChosen = false;
global.debugMode = null;
global.debugMode = true;
global.missing = new Array();

global.jQuery(document).ready(function() {
Expand Down Expand Up @@ -229,7 +229,6 @@
getProjects();

checkIfToolbarEnabled();
setTimeout(trackAppOpened, 100);
});

function imgSwapper(img, src) {
Expand Down
2 changes: 2 additions & 0 deletions www/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,7 @@ function checkIfToolbarEnabled() {
var obj = JSON.parse(data);
global.debugMode = obj.window.toolbar;
}

trackAppOpened();
});
}

0 comments on commit 030951a

Please sign in to comment.