Panel: fixed menu position after moving json to new dropdown

This commit is contained in:
Torkel Ödegaard
2014-11-08 19:28:16 +01:00
parent 815ef05daf
commit ef92272bee

View File

@@ -43,7 +43,7 @@ function (angular, $, _) {
link: function($scope, elem) {
var $link = $(linkTemplate);
var $panelContainer = elem.parents(".panel-container");
var menuWidth = $scope.panelMeta.menu.length === 5 ? 246 : 201;
var menuWidth = $scope.panelMeta.menu.length === 4 ? 236 : 191;
var menuScope = null;
var timeout = null;
var $menu = null;