1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 10:02:57 +01:00

Update actix.js

This commit is contained in:
krircc 2018-06-25 10:22:42 +08:00 committed by GitHub
parent d75c1e04f9
commit 19be3bbf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,3 @@
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();
@ -42,3 +36,10 @@ window.onload = function(){
initFeatureSelector();
});
})();
window.onload = function(){
if (window.location.href.search("cn") == -1) {
document.getElementById("nav-blog").style.display = "none"
}
}