Panel: fixed menu position after moving json to new dropdown

pull/939/merge
Torkel Ödegaard 11 years ago
parent 815ef05daf
commit ef92272bee
  1. 2
      src/app/directives/panelMenu.js

@ -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;

Loading…
Cancel
Save