3
This commit is contained in:
@@ -11,6 +11,25 @@ window.onload = function (){
|
|||||||
middleWareJS()
|
middleWareJS()
|
||||||
openOrCloseCurtainSupportChat()
|
openOrCloseCurtainSupportChat()
|
||||||
openOverlayOrClose()
|
openOverlayOrClose()
|
||||||
|
if (window.location.href.includes('profile') && !window.location.href.includes('login') && !window.location.href.includes('registration')){
|
||||||
|
let user_type = getInfoAboutUser()
|
||||||
|
if (user_type === 'mobile') {
|
||||||
|
open_curtain_w_btn_profile()
|
||||||
|
|
||||||
|
} else {
|
||||||
|
if (!window.location.href.includes('profile')){
|
||||||
|
open_curtain_w_btn_profile()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (window.location.href.includes("profile")){
|
||||||
|
setStandartSettingsToBlockOverlay()
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.location.href.includes("profile")){
|
||||||
|
selectTabProfileIfHisNotSelected(url)
|
||||||
|
}
|
||||||
|
deleteMarkerMessages(el)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user