1.1.8 upd raise and highlight function in my_routes
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user