1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 16:24:58 +02:00
This commit is contained in:
krircc
2018-06-23 11:58:06 +08:00
parent 4349263ff5
commit 88300abd1f
2 changed files with 145 additions and 144 deletions

View File

@ -18,11 +18,11 @@
<script type="text/javascript" async>
window.onload = function(){
if (window.location.href.indexOf("https://actix.rs/cn/") == 0) {
if (window.location.href.indexOf("http://localhost:1314/cn/") == 0) {
var actix_home = document.getElementById("act-home")
actix_home.style.display = "none"
}
if (window.location.href.indexOf("https://actix.rs/") == 0) {
if (window.location.href.indexOf("http://localhost:1313/") == 0) {
var actix_home_cn = document.getElementById("act-home-cn")
actix_home_cn.style.display = "none"
}