0.0.177 routes

This commit is contained in:
SBD
2025-02-28 17:05:56 +03:00
parent ddc844456d
commit f4a1da9ded
4 changed files with 104 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
function changeRoute(el) {
if (!el) return;
if (!el || el.closest('.disabled')) return;
let $parent = el.closest(".w_route_card")
if (!$parent) return;
@@ -47,7 +47,7 @@ function deleteRoute(el) {
}
function raiseRoute(el) {
if (!el || el.dataset.actions_count === '0') return;
if (!el || el.dataset.actions_count === '0' || el.closest('.disabled')) return;
let $parent = el.closest(".w_route_card")
if (!$parent) return;
@@ -90,7 +90,7 @@ function raiseRoute(el) {
}
function highlightRoute(el) {
if (!el || el.dataset.actions_count === '0') return;
if (!el || el.dataset.actions_count === '0' || el.closest('.disabled')) return;
let $parent = el.closest(".w_route_card")
if (!$parent) return;