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:
Zev Benjamin
2013-01-16 15:25:52 -05:00
parent 1b58e6eb9c
commit 4637b20f43

View File

@@ -501,7 +501,7 @@ $(function () {
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');
$("#settings-change-box form").ajaxForm({