0.0.178 routes
This commit is contained in:
@@ -118,7 +118,7 @@ function highlightRoute(el) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function respondBtnClickEvent(el, authentificated) {
|
function respondBtnClickEvent(el, authentificated) {
|
||||||
if (!el) return;
|
if (!el || el.closest('.disabled')) return;
|
||||||
if (authentificated !== 'False') {
|
if (authentificated !== 'False') {
|
||||||
let $parent = el.closest(".w_route_card")
|
let $parent = el.closest(".w_route_card")
|
||||||
let $responde_cont = $parent.querySelector(".respond_route_cont")
|
let $responde_cont = $parent.querySelector(".respond_route_cont")
|
||||||
@@ -135,14 +135,14 @@ function respondBtnClickEvent(el, authentificated) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clickedUnregisteredMsgRoute (el) {
|
function clickedUnregisteredMsgRoute (el) {
|
||||||
if (!el) return;
|
if (!el || el.closest('.disabled')) return;
|
||||||
|
|
||||||
let $parent = el.closest(".route_card_text_container")
|
let $parent = el.closest(".route_card_text_container")
|
||||||
$parent.classList.add('clicked');
|
$parent.classList.add('clicked');
|
||||||
}
|
}
|
||||||
|
|
||||||
function unwrapRouteComment (el){
|
function unwrapRouteComment (el){
|
||||||
if (!el) return;
|
if (!el || el.closest('.disabled')) return;
|
||||||
let $parent = el.closest(".wrapped")
|
let $parent = el.closest(".wrapped")
|
||||||
if (!$parent) return;
|
if (!$parent) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user