mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Resize WorldMap to widget canvas
This commit is contained in:
@ -152,6 +152,7 @@ marker.bindPopup(title);
|
||||
$temp_output .= 'map.addLayer(markers);
|
||||
map.scrollWheelZoom.disable();
|
||||
$(document).ready(function(){
|
||||
$("#leaflet-map").css("height",($("#leaflet-map").parent().innerHeight()-55) + "px");
|
||||
$("#leaflet-map").on("click", function(event) {
|
||||
map.scrollWheelZoom.enable();
|
||||
});
|
||||
|
Reference in New Issue
Block a user