Commit af5a4f16 authored by amandaghassaei's avatar amandaghassaei

ff fix

parent 880a42c6
......@@ -31,7 +31,7 @@ define(['jquery', 'underscore', 'backbone', 'text!menus/contextMenu/CellContextM
},
showMenu: function(position){
var padding = parseInt($wrapper.css("padding"));
var padding = parseInt($wrapper.css("padding-top"));
var left = position.x;
if ($('body').width()-200 < left) left -= 200;
$wrapper.css({left:left, top: position.y-padding});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment