From 7d057a9ca7c0c2d0a719dff913e48c97ab14395f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Tue, 27 Mar 2018 19:28:20 -0400 Subject: [PATCH] Fix bug preventing to click on channels/queries This bug is present both in channel list, #channel in messages, etc. --- client/js/lounge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index 9266e654..51b48f30 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -333,7 +333,7 @@ $(function() { $(this).closest(".msg.condensed").toggleClass("closed"); }); - const openWindow = function openWindow(e, {keepSidebarOpen, pushState, replaceHistory}) { + const openWindow = function openWindow(e, {keepSidebarOpen, pushState, replaceHistory} = {}) { const self = $(this); const target = self.data("target");