0.0.177 routes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user