Commit 73c5883f by Torkel Ödegaard

small fix for png width error when resize in edit mode / fullscreen mode

parent e3561ce5
...@@ -59,6 +59,10 @@ function (angular, $, kbn, moment, _) { ...@@ -59,6 +59,10 @@ function (angular, $, kbn, moment, _) {
function render_panel() { function render_panel() {
if (!data) { return; } if (!data) { return; }
if ($rootScope.fullscreen && !scope.fullscreen) {
return;
}
if (!setElementHeight()) { return; } if (!setElementHeight()) { return; }
if (_.isString(data)) { if (_.isString(data)) {
......
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