From 9f9282873bbfd757104c0f82ea16859747f2a05c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 24 Jul 2020 10:29:42 -0400 Subject: [PATCH] fix: skip mobile menu setup if Pulling not found --- lib/persona.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/persona.js b/lib/persona.js index 280d8f6..38c147b 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -143,6 +143,10 @@ $(document).ready(function() { require(['pulling', 'storage'], function (Pulling, Storage) { + if (!Pulling) { + return; + } + // initialization var chatMenuVisible = !config.disableChat && app.user && parseInt(app.user.uid, 10);