From ee4e4838cd05d56b392d4a909022eee4b7e1d087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=81=E5=AE=81?= Date: Sat, 15 Mar 2014 22:46:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=93=BE=E6=8E=A5=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=A4=E6=96=AD=E4=B8=8D=E5=AE=8C=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/common-js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/common-js.php b/admin/common-js.php index 5ee4ba1a61..812bee9cc0 100644 --- a/admin/common-js.php +++ b/admin/common-js.php @@ -92,7 +92,7 @@ function checkScroll () { $('a').each(function () { var t = $(this), href = t.attr('href'); - if ((href.length > 1 && href[0] == '#') + if ((href && href[0] == '#') || /^adminUrl, '/'); ?>.*$/.exec(href) || /^index), '/'), 0, -1); ?>action\/[_a-zA-Z0-9\/]+.*$/.exec(href)) { return;