Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -55,7 +55,10 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
|
||||
|
||||
middleWareJS()
|
||||
closeCurtain()
|
||||
let user_type = getInfoAboutUser()
|
||||
if (user_type === 'mobile') {
|
||||
closeCurtain()
|
||||
}
|
||||
|
||||
},
|
||||
error: function (data){
|
||||
@@ -65,6 +68,16 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
});
|
||||
}
|
||||
|
||||
function getInfoAboutUser (){
|
||||
let user_type = ''
|
||||
if (screen.width < 1024){
|
||||
user_type = 'mobile'
|
||||
} else {
|
||||
user_type = 'dectop'
|
||||
}
|
||||
return user_type
|
||||
}
|
||||
|
||||
function createTicketShow () {
|
||||
$.ajax({
|
||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||
|
||||
Reference in New Issue
Block a user