TRI-293: edit form

This commit is contained in:
2024-12-27 17:50:17 +03:00
parent 04c4e8c791
commit 5ea5529c67
15 changed files with 191 additions and 173 deletions

View File

@@ -144,11 +144,11 @@ function getTypeOfData (data) {
function getInfoAboutUser (screen_width){
let user_type = ''
if (screen.width <= 700){
if (screen.width <= (window.mobileWidth || 700)){
user_type = 'mobile'
} else if (screen.width > 1180) {
user_type = 'desctop'
} else if (screen.width > 700 && screen.width <= 1180) {
} else if (screen.width > (window.mobileWidth || 700) && screen.width <= 1180) {
user_type = 'laptop'
}
if (screen_width){