diff --git a/html/includes/print-graphrow.inc.php b/html/includes/print-graphrow.inc.php index 362e2a543..e37cd3125 100644 --- a/html/includes/print-graphrow.inc.php +++ b/html/includes/print-graphrow.inc.php @@ -40,7 +40,8 @@ else { if($_SESSION['screen_width']) { if($_SESSION['screen_width'] >= 800) { $graph_array['width'] = ($_SESSION['screen_width'] - 420 )/count($periods)+1; - }else { + } + else { $graph_array['width'] = $_SESSION['screen_width'] - 155; } } diff --git a/html/js/librenms.js b/html/js/librenms.js index 2c4cee311..71f017d24 100644 --- a/html/js/librenms.js +++ b/html/js/librenms.js @@ -157,7 +157,8 @@ $(document).on("click", '.collapse-neighbors', function(event) if(button.hasClass("glyphicon-plus")) { button.addClass('glyphicon-minus').removeClass('glyphicon-plus'); - }else { + } + else { button.addClass('glyphicon-plus').removeClass('glyphicon-minus'); }