diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index f79271a94e..386667f290 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -176,11 +176,11 @@ define(['taskbar', 'string'], function(taskbar, S) { module.load = function(uuid) { var chatModal = $('div[UUID="'+uuid+'"]'); chatModal.removeClass('hide'); - module.bringModalToTop(chatModal); checkOnlineStatus(chatModal); taskbar.updateActive(uuid); scrollToBottom(chatModal.find('#chat-content')); module.center(chatModal); + module.bringModalToTop(chatModal); } module.minimize = function(uuid) {