From 56d8ed25adebb0a662ebc5e708bf87c00fb8c321 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 30 Mar 2023 13:20:18 +0900 Subject: [PATCH] test --- static/js/custom.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/custom.js b/static/js/custom.js index 67881b6..5c1ea75 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -912,7 +912,7 @@ function toggle_failover_route_routespage(routeid, current_state, prefix, route_ // Get all route info: console.log("Getting info for prefix "+prefix) var routes = get_routes() - var failover_enabled + var failover_enabled = false // Get the primary and enabled displays for the prefix: for (let i=0; i < route_id_list.length; i++) { @@ -932,9 +932,6 @@ function toggle_failover_route_routespage(routeid, current_state, prefix, route_ if (enabled_status == true) { failover_enabled = true } - else { - failover_enabled = false - } console.log("Setting primary class '"+route_id+"-primary': "+primary_status) if (primary_status == true) {