From d37602e34dca38326ae177152c65e2088e7bfc3f Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Wed, 22 Nov 2017 21:18:21 -0700 Subject: [PATCH] Close NodeBB/NodeBB#6104 --- lib/persona.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/persona.js b/lib/persona.js index 0a82605..3e9dd2c 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -165,7 +165,7 @@ $(document).ready(function() { $(window).on('resize action:ajaxify.start', function () { navSlideout.close(); - chatsSlideout.close(); + if (chatsSlideout) { chatsSlideout.close(); } $('.account .cover').css('top', $('[component="navbar"]').height()); });