From 35f51fb17cac5a266990755a47c05d612a6242e0 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 25 Sep 2019 11:12:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(#I12N2Q):=20=E5=AE=BD=E5=B1=8F=E6=BB=91?= =?UTF-8?q?=E5=9D=97=E9=AA=8C=E8=AF=81=E7=A0=81=E9=AB=98=E5=BA=A6=E4=B8=8D?= =?UTF-8?q?=E8=B6=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment comment #I12N2Q #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I12N2Q --- src/admin/Bootstrap.Admin/wwwroot/js/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/login.js b/src/admin/Bootstrap.Admin/wwwroot/js/login.js index 1b4506f9..37db41d7 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/js/login.js +++ b/src/admin/Bootstrap.Admin/wwwroot/js/login.js @@ -33,7 +33,7 @@ capHeight: function () { // 如果关闭 oAuth 认证 高度要缩小 var height = 150; - if ($(window).height() < 768) height = $('.slidercaptcha:first').hasClass('oauth') ? 96 : 150; + if ($(window).width() < 768) height = $('.slidercaptcha:first').hasClass('oauth') ? 96 : 150; return height; }, capRegSuccess: function () {