better fix

pull/2358/head
John McLear 2014-11-28 00:35:46 +00:00
parent e6d85bbe69
commit 68979e1212
1 changed files with 2 additions and 1 deletions

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) {