mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
tutorial: Remove exports.start.
This commit is contained in:
@@ -10,18 +10,10 @@ function set_tutorial_status(status, callback) {
|
||||
});
|
||||
}
|
||||
|
||||
function finale() {
|
||||
set_tutorial_status("finished");
|
||||
narrow.by('is', 'private', {select_first_unread: true, trigger: 'sidebar'});
|
||||
}
|
||||
|
||||
exports.start = function () {
|
||||
finale();
|
||||
};
|
||||
|
||||
exports.initialize = function () {
|
||||
if (page_params.needs_tutorial) {
|
||||
exports.start();
|
||||
set_tutorial_status("finished");
|
||||
narrow.by('is', 'private', {select_first_unread: true, trigger: 'sidebar'});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user