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()); });