mirror of https://github.com/MISP/MISP
chg: [widgets:worlmap] Resize map on widget container resize
parent
8e6cf31bd4
commit
39835175c1
|
@ -63,6 +63,9 @@
|
||||||
}
|
}
|
||||||
resize_timeout = setTimeout(function() { resizeDashboardWorldMap() }, 500); // redraw after 500ms
|
resize_timeout = setTimeout(function() { resizeDashboardWorldMap() }, 500); // redraw after 500ms
|
||||||
});
|
});
|
||||||
|
$worldmap.closest('.widgetContentInner').on('widget-resized', function() {
|
||||||
|
resizeDashboardWorldMap();
|
||||||
|
})
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue