Fix bug preventing to click on channels/queries

This bug is present both in channel list, #channel in messages, etc.
This commit is contained in:
Jérémie Astori 2018-03-27 19:28:20 -04:00
parent 3d04afa4f6
commit 7d057a9ca7
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -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");