mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
Added detection for window height for map page
This commit is contained in:
@@ -88,6 +88,10 @@ if (is_array($tmp_devices[0])) {
|
||||
|
||||
?>
|
||||
|
||||
<script>
|
||||
var height = $(window).height() - 100;
|
||||
$('#visualization').css('height', height + 'px');
|
||||
</script>
|
||||
<div id="visualization"></div>
|
||||
<script src="js/vis.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user