1
0
mirror of https://github.com/actix/actix-website synced 2025-06-27 07:29:02 +02:00

add blog nav in cn site

This commit is contained in:
krircc
2018-06-25 09:41:51 +08:00
parent 27e11483bc
commit 50ff9244c9
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
window.onload = function(){
if (window.location.href.search("cn") == -1) {
document.getElementById("nav-blog").style.display = "none"
}
}
(function() {
function activateFeature(sel) {
$('div.actix-feature').hide();