0.0.58 upd route_info
This commit is contained in:
@@ -92,4 +92,20 @@ function myProfile(){
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function confirmRemove(el) {
|
||||
let place = document.querySelector('.button_remove_route')
|
||||
// let new_button = document.querySelector('.cancel_remove')
|
||||
// if(!button){
|
||||
let cancel_button = document.createElement('button')
|
||||
cancel_button.className = "cancel_remove";
|
||||
cancel_button.innerText = "Отменить удаление";
|
||||
place.appendChild(cancel_button);
|
||||
// }
|
||||
|
||||
|
||||
el.classList.add('confirm_remove')
|
||||
el.innerText = 'Подтвердить удаление'
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user