From 19be3bbf89cca08ddf79cd7a3952b5c647fa37a4 Mon Sep 17 00:00:00 2001 From: krircc Date: Mon, 25 Jun 2018 10:22:42 +0800 Subject: [PATCH] Update actix.js --- static/js/actix.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/static/js/actix.js b/static/js/actix.js index 63e4c3d..512ca98 100644 --- a/static/js/actix.js +++ b/static/js/actix.js @@ -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" + } +}