Skip to content

Node.js based forum software built for the modern web

closes #434

Baris Usakli25e6f7292118
diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js
index 0921f6d5a1..aad7331faf 100644
--- a/public/src/modules/chat.js
+++ b/public/src/modules/chat.js
@@ -86,8 +86,8 @@ define(['taskbar'], function(taskbar) {
}
function center(chatModal) {
- chatModal.css("position","absolute");
- chatModal.css("top", Math.max(0, (($(window).height() - $(chatModal).outerHeight()) / 2) + $(window).scrollTop()) + "px");
+ chatModal.css("position", "fixed");
+ chatModal.css("top", "100px");
chatModal.css("left", Math.max(0, (($(window).width() - $(chatModal).outerWidth()) / 2) + $(window).scrollLeft()) + "px");
return chatModal;
}