Pull code that only has to run once out of the loop

(imported from commit 8c31c4bda6bf41e130fc4704d5520f500b9321f8)
This commit is contained in:
Kevin Mehall 2013-09-19 10:31:53 -04:00
parent bc36aad698
commit a77746e9fd
1 changed files with 9 additions and 9 deletions

View File

@ -91,6 +91,7 @@ function set_up_checklist() {
if (register_action !== undefined) { if (register_action !== undefined) {
register_action(step_info[step].status); register_action(step_info[step].status);
} }
});
$(document.body).one('click', "#get-the-app", function (e) { $(document.body).one('click', "#get-the-app", function (e) {
exports.mark_checklist_step("made_app_sticky"); exports.mark_checklist_step("made_app_sticky");
@ -100,7 +101,6 @@ function set_up_checklist() {
}); });
$("#onboarding").show(); $("#onboarding").show();
});
} }
exports.initialize = function () { exports.initialize = function () {