mirror of
https://github.com/actix/actix-website
synced 2025-01-23 00:25:55 +01:00
Update footer.html
This commit is contained in:
parent
88300abd1f
commit
76f9be3f68
@ -18,11 +18,11 @@
|
|||||||
|
|
||||||
<script type="text/javascript" async>
|
<script type="text/javascript" async>
|
||||||
window.onload = function(){
|
window.onload = function(){
|
||||||
if (window.location.href.indexOf("http://localhost:1314/cn/") == 0) {
|
if (window.location.href.indexOf("https://actix.rs/cn/") == 0) {
|
||||||
var actix_home = document.getElementById("act-home")
|
var actix_home = document.getElementById("act-home")
|
||||||
actix_home.style.display = "none"
|
actix_home.style.display = "none"
|
||||||
}
|
}
|
||||||
if (window.location.href.indexOf("http://localhost:1313/") == 0) {
|
if (window.location.href.indexOf("https://actix.rs/") == 0) {
|
||||||
var actix_home_cn = document.getElementById("act-home-cn")
|
var actix_home_cn = document.getElementById("act-home-cn")
|
||||||
actix_home_cn.style.display = "none"
|
actix_home_cn.style.display = "none"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user