0.8.361
This commit is contained in:
@@ -540,8 +540,12 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 320px;
|
width: 320px;
|
||||||
}
|
}
|
||||||
|
.cut_width_f_curtain.left{
|
||||||
|
top: 44px;
|
||||||
|
}
|
||||||
.menu_buttons.left.open.filters{
|
.menu_buttons.left.open.filters{
|
||||||
max-height: 91vh;
|
max-height: 91vh;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
.block_w_paging.routes {
|
.block_w_paging.routes {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -53,11 +53,3 @@ function open_chat (user_id){
|
|||||||
window.location.replace(href)
|
window.location.replace(href)
|
||||||
}
|
}
|
||||||
|
|
||||||
function scroll_ev (event,el){
|
|
||||||
let curtain = document.querySelector(".menu_buttons.filters")
|
|
||||||
if (el.scrollY === 300 || el.scrollY > 300){
|
|
||||||
curtain.style.top = "0"
|
|
||||||
} else if (el.scrollY < 300) {
|
|
||||||
curtain.style.top = "293px"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -24,6 +24,24 @@ function middleWareJS(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getTypeOfData (data) {
|
||||||
|
let type = typeof data
|
||||||
|
return type
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getInfoAboutUser (){
|
||||||
|
let user_type = ''
|
||||||
|
if (screen.width <= 700){
|
||||||
|
user_type = 'mobile'
|
||||||
|
} else if (screen.width > 1024) {
|
||||||
|
user_type = 'dectop'
|
||||||
|
} else if (screen.width > 700 && screen.width < 1024) {
|
||||||
|
user_type = 'laptop'
|
||||||
|
}
|
||||||
|
return user_type
|
||||||
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
let img = document.getElementById('dropbtn_lang')
|
let img = document.getElementById('dropbtn_lang')
|
||||||
if (window.location.href.indexOf("ru") > -1){
|
if (window.location.href.indexOf("ru") > -1){
|
||||||
@@ -55,3 +73,14 @@ window.addEventListener('scroll', () => {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function scroll_ev (event,el){
|
||||||
|
let curtain = document.querySelector(".menu_buttons.filters")
|
||||||
|
let user_type = getInfoAboutUser()
|
||||||
|
if (user_type !== 'mobile'){
|
||||||
|
if (el.scrollY === 300 || el.scrollY > 300){
|
||||||
|
curtain.style.top = "0"
|
||||||
|
} else if (el.scrollY < 300) {
|
||||||
|
curtain.style.top = "293px"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -73,17 +73,7 @@ function select_tab_profile (el,url,owner_type=null) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function getInfoAboutUser (){
|
|
||||||
let user_type = ''
|
|
||||||
if (screen.width <= 700){
|
|
||||||
user_type = 'mobile'
|
|
||||||
} else if (screen.width > 1024) {
|
|
||||||
user_type = 'dectop'
|
|
||||||
} else if (screen.width > 700 && screen.width < 1024) {
|
|
||||||
user_type = 'laptop'
|
|
||||||
}
|
|
||||||
return user_type
|
|
||||||
}
|
|
||||||
|
|
||||||
function createTicketShow () {
|
function createTicketShow () {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@@ -867,10 +857,7 @@ function getOpenCurtain () {
|
|||||||
return curtains
|
return curtains
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTypeOfData (data) {
|
|
||||||
let type = typeof data
|
|
||||||
return type
|
|
||||||
}
|
|
||||||
|
|
||||||
function getCurtainWIncreaceZindex (curtains,decreace) {
|
function getCurtainWIncreaceZindex (curtains,decreace) {
|
||||||
let first = getInfoCurtain(curtains[0],'zIndex')
|
let first = getInfoCurtain(curtains[0],'zIndex')
|
||||||
|
|||||||
Reference in New Issue
Block a user