diff --git a/public/src/sockets.js b/public/src/sockets.js index 9325c0c595..a523a29597 100644 --- a/public/src/sockets.js +++ b/public/src/sockets.js @@ -165,7 +165,7 @@ app = window.app || {}; reconnectEl.tooltip('dispose'); reconnectEl.html(''); - reconnectAlert.addClass('hide'); + reconnectAlert.removeClass('show'); reconnecting = false; reJoinCurrentRoom(); @@ -202,7 +202,7 @@ app = window.app || {}; if (!reconnectEl.hasClass('active')) { reconnectEl.html(''); - reconnectAlert.removeClass('hide'); + reconnectAlert.addClass('show'); } reconnectEl.addClass('active').removeClass('hide').tooltip({ diff --git a/src/views/admin/footer.tpl b/src/views/admin/footer.tpl index 73ed1fb492..6de64023ef 100644 --- a/src/views/admin/footer.tpl +++ b/src/views/admin/footer.tpl @@ -5,8 +5,8 @@ {{{ if !isSpider }}}
-
- +
+

[[global:reconnecting-message, {config.siteTitle}]]

diff --git a/src/views/partials/reconnect-alert.tpl b/src/views/partials/reconnect-alert.tpl new file mode 100644 index 0000000000..50a6e1e330 --- /dev/null +++ b/src/views/partials/reconnect-alert.tpl @@ -0,0 +1,4 @@ +
+ +

[[global:reconnecting-message, {config.siteTitle}]]

+
\ No newline at end of file