0.0.178 routes

This commit is contained in:
SBD
2025-02-28 17:09:16 +03:00
parent 17c040f0d3
commit b511cbbdaf

View File

@@ -118,7 +118,7 @@ function highlightRoute(el) {
}
function respondBtnClickEvent(el, authentificated) {
if (!el) return;
if (!el || el.closest('.disabled')) return;
if (authentificated !== 'False') {
let $parent = el.closest(".w_route_card")
let $responde_cont = $parent.querySelector(".respond_route_cont")
@@ -135,14 +135,14 @@ function respondBtnClickEvent(el, authentificated) {
}
function clickedUnregisteredMsgRoute (el) {
if (!el) return;
if (!el || el.closest('.disabled')) return;
let $parent = el.closest(".route_card_text_container")
$parent.classList.add('clicked');
}
function unwrapRouteComment (el){
if (!el) return;
if (!el || el.closest('.disabled')) return;
let $parent = el.closest(".wrapped")
if (!$parent) return;