mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix syntax
This commit is contained in:
@ -40,7 +40,8 @@ else {
|
|||||||
if($_SESSION['screen_width']) {
|
if($_SESSION['screen_width']) {
|
||||||
if($_SESSION['screen_width'] >= 800) {
|
if($_SESSION['screen_width'] >= 800) {
|
||||||
$graph_array['width'] = ($_SESSION['screen_width'] - 420 )/count($periods)+1;
|
$graph_array['width'] = ($_SESSION['screen_width'] - 420 )/count($periods)+1;
|
||||||
}else {
|
}
|
||||||
|
else {
|
||||||
$graph_array['width'] = $_SESSION['screen_width'] - 155;
|
$graph_array['width'] = $_SESSION['screen_width'] - 155;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,8 @@ $(document).on("click", '.collapse-neighbors', function(event)
|
|||||||
|
|
||||||
if(button.hasClass("glyphicon-plus")) {
|
if(button.hasClass("glyphicon-plus")) {
|
||||||
button.addClass('glyphicon-minus').removeClass('glyphicon-plus');
|
button.addClass('glyphicon-minus').removeClass('glyphicon-plus');
|
||||||
}else {
|
}
|
||||||
|
else {
|
||||||
button.addClass('glyphicon-plus').removeClass('glyphicon-minus');
|
button.addClass('glyphicon-plus').removeClass('glyphicon-minus');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user