修改BUG:menu.js脚本选择图标功能更新弹框内图标预览框

This commit is contained in:
Argo-MacBookPro 2018-08-14 01:11:29 +08:00
parent 696dcf8d3e
commit ba0bba0e75
1 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,8 @@
$btnPickIcon.on('click', function () {
$dialogNew.find('[data-toggle="LgbValidate"] [aria-describedby]').tooltip('hide');
$dialogNew.hide();
var icon = $inputIcon.val();
if (icon) $pickIcon.attr('class', icon);
$dialogIcon.show();
});