Merge pull request #2305 from thelounge/astorije/fix-master

Fix bug preventing to click on channels/queries
This commit is contained in:
Pavel Djundik 2018-03-28 10:02:57 +03:00 committed by GitHub
commit c4be637ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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