Этот коммит содержится в:
Christopher Speller
2017-04-17 15:08:56 -04:00
родитель 742bab6429 3097453394
Коммит 92d8fa4aa8
47 изменённых файлов: 1250 добавлений и 1142 удалений

Просмотреть файл

@@ -60,6 +60,8 @@ function preRenderSetup(callwhendone) {
// Make sure the websockets close and reset version
$(window).on('beforeunload',
() => {
// Turn off to prevent getting stuck in a loop
$(window).off('beforeunload');
BrowserStore.setLastServerVersion('');
if (UserStore.getCurrentUser()) {
AsyncClient.viewChannel('', ChannelStore.getCurrentId() || '');