cleaner reflow

This commit is contained in:
John McLear 2014-11-06 15:12:40 +00:00
parent 9170effb27
commit 96d6e7c1b7

View file

@ -379,9 +379,10 @@ function handshake()
} }
var redrawEditbar = function(){ var redrawEditbar = function(){
var height = $('.menu_left').height() + 4 + "px"; var editbarHeight = $('.menu_left').height() + 2 + "px";
$('#editbar').css("height", height); var containerTop = $('.menu_left').height() + 5 + "px";
$('#editorcontainer').css("top", height); $('#editbar').css("height", editbarHeight);
$('#editorcontainer').css("top", containerTop);
} }
$.extend($.gritter.options, { $.extend($.gritter.options, {