fix: #7977, fix undefined url (#7978)

v1.18.x
Barış Soner Uşaklı 5 years ago committed by GitHub
parent ddf3812cdc
commit 95a372df85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -424,8 +424,8 @@ define('forum/chats', [
messages.scrollToBottom($('.expanded-chat ul.chat-content')); messages.scrollToBottom($('.expanded-chat ul.chat-content'));
if (history.pushState) { if (history.pushState) {
history.pushState({ history.pushState({
url: 'user/' + payload.userslug + '/chats/' + payload.roomId, url: url,
}, null, window.location.protocol + '//' + window.location.host + config.relative_path + '/user/' + payload.userslug + '/chats/' + payload.roomId); }, null, window.location.protocol + '//' + window.location.host + config.relative_path + '/' + url);
} }
}); });
}); });

Loading…
Cancel
Save