mirror of
https://github.com/actix/actix-website
synced 2024-11-27 18:12:57 +01:00
detail Adjustment
This commit is contained in:
parent
19be3bbf89
commit
cf8f8c9b3e
@ -171,7 +171,9 @@ img {
|
||||
padding-top: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.navbar-nav #nav-blog {
|
||||
display: none;
|
||||
}
|
||||
.navbar-nav .language-selector {
|
||||
position: relative;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
|
||||
window.onload = function(){
|
||||
if (window.location.href.search("cn") == -1) {
|
||||
document.getElementById("nav-blog").style.display = "none"
|
||||
if (window.location.href.search("cn") != -1) {
|
||||
document.getElementById("nav-blog").style.display = "inline"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user