From a8063e8b1925e7212f04dc95748b90c8eca82782 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 5 Jun 2019 11:51:58 +0800 Subject: [PATCH] * adjust for side width. --- module/doc/js/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/doc/js/common.js b/module/doc/js/common.js index 824cdbd483..3313cd1247 100644 --- a/module/doc/js/common.js +++ b/module/doc/js/common.js @@ -121,12 +121,12 @@ $(document).ready(function() }; var defaultWidth = $.zui.store.get('splitRowFirstSize:' + id); - if(typeof(defaultWidth) != undefined) + if(typeof(defaultWidth) == 'undefined') { defaultWidth = 0; $firstCol.find('.tabs ul.nav-tabs li').each(function(){defaultWidth += $(this).outerWidth()}); defaultWidth += ($firstCol.find('.tabs ul.nav-tabs li').length - 1) * 10; - defaultWidth += 20; + defaultWidth += 30; } setFirstColWidth(defaultWidth);