mirror of https://github.com/zulip/zulip.git
Prevent resize operations from trying to access the reply() tutorial after the tutorial has finished
I had to move a function to prevent linter errors (imported from commit 7634bd7d29ca2d204d17566f166ce9d580aaac4b)
This commit is contained in:
parent
e5467d3268
commit
c69f1dae3f
|
@ -315,6 +315,10 @@ exports.defer = function (callback) {
|
||||||
deferred_work.push(callback);
|
deferred_work.push(callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
function update_popover_info(popover_func) {
|
||||||
|
current_popover_info = popover_func;
|
||||||
|
}
|
||||||
|
|
||||||
function finale() {
|
function finale() {
|
||||||
var finale_modal = $("#tutorial-finale");
|
var finale_modal = $("#tutorial-finale");
|
||||||
$(".screen").css({opacity: 0.0});
|
$(".screen").css({opacity: 0.0});
|
||||||
|
@ -331,6 +335,7 @@ function finale() {
|
||||||
set_tutorial_status("finished");
|
set_tutorial_status("finished");
|
||||||
is_running = false;
|
is_running = false;
|
||||||
current_msg_list.clear();
|
current_msg_list.clear();
|
||||||
|
update_popover_info(undefined);
|
||||||
// Force a check on new events before we re-render the message list.
|
// Force a check on new events before we re-render the message list.
|
||||||
server_events.force_get_events();
|
server_events.force_get_events();
|
||||||
stream_color.default_color = real_default_color;
|
stream_color.default_color = real_default_color;
|
||||||
|
@ -386,10 +391,6 @@ function finale() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_popover_info(popover_func) {
|
|
||||||
current_popover_info = popover_func;
|
|
||||||
}
|
|
||||||
|
|
||||||
function box_first_message() {
|
function box_first_message() {
|
||||||
var spotlight_message = rows.first_visible();
|
var spotlight_message = rows.first_visible();
|
||||||
var bar = rows.get_message_recipient_row(spotlight_message);
|
var bar = rows.get_message_recipient_row(spotlight_message);
|
||||||
|
|
Loading…
Reference in New Issue