From cf8f8c9b3ed7267fe2593c42faafef2bb0957d1f Mon Sep 17 00:00:00 2001 From: krircc Date: Mon, 25 Jun 2018 15:48:52 +0800 Subject: [PATCH] detail Adjustment --- static/css/actix.css | 4 +++- static/js/actix.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/css/actix.css b/static/css/actix.css index 277b5c4..890f4e4 100644 --- a/static/css/actix.css +++ b/static/css/actix.css @@ -171,7 +171,9 @@ img { padding-top: 0; list-style: none; } - +.navbar-nav #nav-blog { + display: none; +} .navbar-nav .language-selector { position: relative; } diff --git a/static/js/actix.js b/static/js/actix.js index 512ca98..27300b2 100644 --- a/static/js/actix.js +++ b/static/js/actix.js @@ -39,7 +39,7 @@ window.onload = function(){ - if (window.location.href.search("cn") == -1) { - document.getElementById("nav-blog").style.display = "none" + if (window.location.href.search("cn") != -1) { + document.getElementById("nav-blog").style.display = "inline" } }