summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2014-11-06 15:12:40 +0000
committerJohn McLear <john@mclear.co.uk>2014-11-06 15:12:40 +0000
commit96d6e7c1b7df59e96c394608a343cb698c848576 (patch)
tree22b3f86d2dc54a7f8f3e2f27206afa475b79700b /src
parent9170effb27dee076ac7401a34f0e857be50330eb (diff)
downloadetherpad-lite-96d6e7c1b7df59e96c394608a343cb698c848576.zip
cleaner reflow
Diffstat (limited to 'src')
-rw-r--r--src/static/js/pad.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index 5292e75d..6a3a2e0e 100644
--- a/src/static/js/pad.js
+++ b/src/static/js/pad.js
@@ -379,9 +379,10 @@ function handshake()
}
var redrawEditbar = function(){
- var height = $('.menu_left').height() + 4 + "px";
- $('#editbar').css("height", height);
- $('#editorcontainer').css("top", height);
+ var editbarHeight = $('.menu_left').height() + 2 + "px";
+ var containerTop = $('.menu_left').height() + 5 + "px";
+ $('#editbar').css("height", editbarHeight);
+ $('#editorcontainer').css("top", containerTop);
}
$.extend($.gritter.options, {