mirror of https://github.com/zulip/zulip.git
Pull code that only has to run once out of the loop
(imported from commit 8c31c4bda6bf41e130fc4704d5520f500b9321f8)
This commit is contained in:
parent
bc36aad698
commit
a77746e9fd
|
@ -91,16 +91,16 @@ 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) {
|
|
||||||
exports.mark_checklist_step("made_app_sticky");
|
|
||||||
});
|
|
||||||
$(document.body).one('click', "#set-up-integration", function (e) {
|
|
||||||
exports.mark_checklist_step("set_up_integration");
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#onboarding").show();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document.body).one('click', "#get-the-app", function (e) {
|
||||||
|
exports.mark_checklist_step("made_app_sticky");
|
||||||
|
});
|
||||||
|
$(document.body).one('click', "#set-up-integration", function (e) {
|
||||||
|
exports.mark_checklist_step("set_up_integration");
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#onboarding").show();
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.initialize = function () {
|
exports.initialize = function () {
|
||||||
|
|
Loading…
Reference in New Issue