fix: skip mobile menu setup if Pulling not found

main
Julian Lam 5 years ago
parent d2f234e10e
commit 9f9282873b

@ -143,6 +143,10 @@ $(document).ready(function() {
require(['pulling', 'storage'], function (Pulling, Storage) { require(['pulling', 'storage'], function (Pulling, Storage) {
if (!Pulling) {
return;
}
// initialization // initialization
var chatMenuVisible = !config.disableChat && app.user && parseInt(app.user.uid, 10); var chatMenuVisible = !config.disableChat && app.user && parseInt(app.user.uid, 10);

Loading…
Cancel
Save