1.1.8 upd raise and highlight function in my_routes

This commit is contained in:
2024-06-10 17:48:10 +03:00
parent 1aced3d20b
commit 7aa7e32fda
4 changed files with 17 additions and 2 deletions

View File

@@ -675,7 +675,7 @@ function confirmUpgrade(el, routeID){
let editButton = document.getElementById('edit_route_' + routeID)
if(url === '/routes/highlight_route/'){
if(url === '/routes/highlight_route/' && !remainsHighlightCount[0].innerText === '0'){
el_route.classList.add('highlight-color');
editButton.classList.add('highlight-color')
document.getElementById('control_frame_' + routeID).classList.remove('show')