From 952fb69c08c4a7cabd3dda087e7c41a478fd3ba5 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 24 Mar 2023 12:24:15 +0900 Subject: [PATCH] test --- static/js/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/custom.js b/static/js/custom.js index c1569a3..865f0bd 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -809,11 +809,11 @@ function toggle_route(route_id, current_state, page) { var disabledClass = "" var enabledClass = "" - if (page == "machines") { + if (page == "routes") { disabledClass = "waves-effect waves-light btn-small red-text lighten-2 tooltipped"; enabledClass = "waves-effect waves-light btn-small green-text lighten-2 tooltipped"; } - if (page == "routes") { + if (page == "machines") { disabledClass = "material-icons red-text text-lighten-2 tooltipped"; enabledClass = "material-icons green-text text-lighten-2 tooltipped"; }