Работа с doxygen
This commit is contained in:
+1
-19
@@ -1,23 +1,5 @@
|
||||
var isInMobile = false;
|
||||
|
||||
function jsinject_init() {
|
||||
let navy = document.getElementById('side-nav');
|
||||
if (visualViewport.width < visualViewport.height) {
|
||||
document.body.style.width = '100%';
|
||||
navy.style.width = '6px';
|
||||
navy.onclick = (function () {
|
||||
if (navy.clientWidth > 0) {
|
||||
navy.style.width = 0;
|
||||
}
|
||||
else {
|
||||
navy.style.width = document.body.clientWidth + 'px';
|
||||
}
|
||||
});
|
||||
isInMobile = true;
|
||||
}
|
||||
else {
|
||||
document.body.style.width = '80%';
|
||||
document.body.style.margin = 'auto';
|
||||
navy.style.marginLeft = document.body.clientLeft + 'px';
|
||||
}
|
||||
// Скоро зде что-нибудь появится =)
|
||||
}
|
||||
Reference in New Issue
Block a user