|
@@ -3620,16 +3620,11 @@ $(document).ready(function () {
|
|
|
resize: {
|
|
resize: {
|
|
|
enabled: true,
|
|
enabled: true,
|
|
|
start: function (event, ui, $widget) {
|
|
start: function (event, ui, $widget) {
|
|
|
- if ($widget.find('.card-widget').length > 0) {
|
|
|
|
|
- $widget.find('.card-widget').hide();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ $widget.find('.card-widget').hide();
|
|
|
},
|
|
},
|
|
|
stop: function (event, ui, $widget) {
|
|
stop: function (event, ui, $widget) {
|
|
|
huePubSub.publish('resize.plotly.chart');
|
|
huePubSub.publish('resize.plotly.chart');
|
|
|
- if ($widget.find('.card-widget').length > 0) {
|
|
|
|
|
- $widget.find('.card-widget').show();
|
|
|
|
|
- $widget.find('.card-widget').height($widget.height());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ $widget.find('.card-widget').height($widget.height()).show();
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|