chg: [widgets:worlmap] Resize map on widget container resize

pull/5719/head
mokaddem 2020-03-24 13:27:46 +01:00
parent 8e6cf31bd4
commit 39835175c1
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@
}
resize_timeout = setTimeout(function() { resizeDashboardWorldMap() }, 500); // redraw after 500ms
});
$worldmap.closest('.widgetContentInner').on('widget-resized', function() {
resizeDashboardWorldMap();
})
});
}());
</script>