loader correct
This commit is contained in:
SDE
2023-11-25 17:14:17 +03:00
parent 4e2d453ff1
commit 0571de3dd0
2 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ function select_tab_profile (el,url,owner_type=null) {
confirm_url = `/routes/${url}/`
}
if (window.location.href.includes("profile")){
document.querySelector(".info_profile").innerHTML = '<img src="/static/img/svg/loader.svg" style="height: 30px;position: absolute;top: 50%;left: 50%;"/>'
document.querySelector(".info_profile").innerHTML = '<img src="/static/img/svg/loader.svg" style="height: 30px;position: absolute;top: 47%;left: 45%;"/>'
}
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },