mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 22:51:25 +08:00
微调
This commit is contained in:
parent
2f926fcf57
commit
ed9b130305
@ -184,7 +184,7 @@ quickcommand = {
|
|||||||
// 调整插件高度
|
// 调整插件高度
|
||||||
let modWindowHeight = () => {
|
let modWindowHeight = () => {
|
||||||
var height = $('.select2-results').height()
|
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()
|
if ($('#quickselect').length) $('#quickselect').remove()
|
||||||
$("body").append(`<div id="quickselect"><select id="selectBox"></select></div>`)
|
$("body").append(`<div id="quickselect"><select id="selectBox"></select></div>`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user