This commit is contained in:
fofolee 2020-07-02 22:05:00 +08:00
parent 2f926fcf57
commit ed9b130305

View File

@ -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(`<div id="quickselect"><select id="selectBox"></select></div>`)