1.1.8 upd raise and highlight function in my_routes
This commit is contained in:
@@ -756,6 +756,19 @@ button#send_upgrade:hover {
|
||||
color: #ff0000;
|
||||
|
||||
}
|
||||
.info_text_wrapper{
|
||||
padding-top: 20px;
|
||||
text-align: center;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.info_text{
|
||||
display: none;
|
||||
}
|
||||
.info_text.show{
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.header-second-item,
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -118,6 +118,8 @@ function select_tab_profile (el,url,owner_type=null, check_orders_required) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function checkStatesAfterTransitionToAnotherTabProfile () {
|
||||
// check which page if profile - do
|
||||
if (window.location.href.includes('profile')){
|
||||
|
||||
Reference in New Issue
Block a user