mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
Set up the subscriptions page when the page is shown instead of when its about to be shown
This is needed for the next commit so that the loading indicator is created while its associated div is visible. (imported from commit 72d6ccc14158b49e0ea640ab818114869aa548bf)
This commit is contained in:
@@ -501,7 +501,7 @@ $(function () {
|
|||||||
hashchange.changehash(browser_url);
|
hashchange.changehash(browser_url);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#sidebar a[href="#subscriptions"]').on('show', subs.setup_page);
|
$('#sidebar a[href="#subscriptions"]').on('shown', subs.setup_page);
|
||||||
|
|
||||||
var settings_status = $('#settings-status');
|
var settings_status = $('#settings-status');
|
||||||
$("#settings-change-box form").ajaxForm({
|
$("#settings-change-box form").ajaxForm({
|
||||||
|
|||||||
Reference in New Issue
Block a user