1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00

Update footer.html

This commit is contained in:
krircc 2018-06-23 12:01:21 +08:00 committed by GitHub
parent 88300abd1f
commit 76f9be3f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,11 @@
<script type="text/javascript" async>
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")
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")
actix_home_cn.style.display = "none"
}