better fix

This commit is contained in:
John McLear 2014-11-28 00:35:46 +00:00
parent e6d85bbe69
commit 68979e1212

View file

@ -183,9 +183,10 @@ var padeditbar = (function()
var editbarHeight = $('.menu_left').height() + 2 + "px"; var editbarHeight = $('.menu_left').height() + 2 + "px";
var containerTop = $('.menu_left').height() + 7 + "px"; var containerTop = $('.menu_left').height() + 7 + "px";
$('#editbar').css("height", editbarHeight); $('#editbar').css("height", editbarHeight);
$('#editorcontainer').css("top", containerTop); $('#editorcontainer').css("top", containerTop);
if($('#options-stickychat').is(":checked")){ if($('#options-stickychat').is(":checked")){
$('#chatbox').css("top", containerTop); $('#chatbox').css("top", $('#editorcontainer').offset().top + "px");
}; };
}, },
registerDropdownCommand: function (cmd, dropdown) { registerDropdownCommand: function (cmd, dropdown) {