|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|