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"; }