From ed9b13030569012570f7d34665ca9b1856d28925 Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 2 Jul 2020 22:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preload.js b/src/preload.js index a677bdb..066bc5e 100644 --- a/src/preload.js +++ b/src/preload.js @@ -184,7 +184,7 @@ quickcommand = { // 调整插件高度 let modWindowHeight = () => { var height = $('.select2-results').height() - if (!$("#customize").is(":parent")) utools.setExpendHeight(height > 600 ? 600 : height); + if ($('#options').is(':hidden')) utools.setExpendHeight(height > 600 ? 600 : height); } if ($('#quickselect').length) $('#quickselect').remove() $("body").append(`
`)