change article
This commit is contained in:
@@ -131,7 +131,7 @@ function getInfoAboutUser (){
|
||||
if (screen.width <= 800){
|
||||
user_type = 'mobile'
|
||||
} else if (screen.width > 1024) {
|
||||
user_type = 'desktop'
|
||||
user_type = 'desktop'
|
||||
} else if (screen.width >= 800 && screen.width <= 1024) {
|
||||
user_type = 'laptop'
|
||||
}
|
||||
@@ -560,7 +560,7 @@ function choseItemTreeDocumentation (el){
|
||||
this.classList.remove("chose")
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
el.classList.add("chose")
|
||||
|
||||
let url = window.location.origin + el.dataset['url']
|
||||
@@ -641,4 +641,9 @@ function breadCrumbGo (el){
|
||||
window.location.href = window.location.origin + url
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function changeCurArticle (el){
|
||||
let url = el.dataset['url']
|
||||
window.location.href = window.location.origin + url
|
||||
}
|
||||
Reference in New Issue
Block a user