Commit 71d62012 by Torkel Ödegaard

fix(panel): fixed issue with fullscreen panel view and switching to another dashboard, fixes #5163

parent 6f094ef2
......@@ -142,9 +142,10 @@ function (angular, _, config) {
});
module.directive('panelWidth', function() {
var fullscreen = false;
return function(scope, element) {
var fullscreen = false;
function updateWidth() {
if (!fullscreen) {
element[0].style.width = ((scope.panel.span / 1.2) * 10) + '%';
......
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