summaryrefslogtreecommitdiffstats
path: root/libs/Options.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2020-03-26 17:55:17 +0800
committerGitHub <noreply@github.com>2020-03-26 17:55:17 +0800
commita8136597b7aa5532221aa62a57a1e25ab9571634 (patch)
tree1813f525f9f3f941dcdd5b0608b76f6c5a579c74 /libs/Options.php
parentd033bedc19bed7765358dc6cdf87bbfdacc9c0ce (diff)
🌫 Fix: 修复导航栏透明模式的问题
Diffstat (limited to 'libs/Options.php')
-rwxr-xr-xlibs/Options.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Options.php b/libs/Options.php
index bd2a97d..c69be60 100755
--- a/libs/Options.php
+++ b/libs/Options.php
@@ -89,7 +89,7 @@ function themeConfig($form) {
//nav
$navStyle = new Typecho_Widget_Helper_Form_Element_Select('navStyle',array('0'=>'顶部导航栏','1'=>'左侧抽屉栏'),'0','<h2>导航栏 Nav</h2>类型','选择导航栏的类型(若选择左侧抽屉蓝,则下一条设置失效)');
$form->addInput($navStyle);
- $navAero = new Typecho_Widget_Helper_Form_Element_Select('navAero',array('0'=>'是','1'=>'否'),'0','顶部透明','视口处于最顶部时,顶部导航栏是否变为透明');
+ $navAero = new Typecho_Widget_Helper_Form_Element_Select('navAero',array('0'=>'是','1'=>'否'),'1','顶部透明','视口处于最顶部时,顶部导航栏是否变为透明');
$form->addInput($navAero);
$customNav = new Typecho_Widget_Helper_Form_Element_Textarea('customNav', NULL, NULL, _t('自定义导航栏'), _t('按照格式书写,自定义导航栏内容,留空则读取所有的独立页面,书写的格式请查看 wiki<hr>'));
$form->addInput($customNav);