fix #1780: custom icon selection issue

pull/1856/head
antelle 2 years ago
parent e4fa4cc413
commit 09fe1a4649
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

@ -108,7 +108,12 @@ class IconSelectView extends View {
return url;
}
selectIcon() {
selectIcon(e) {
const btn = e.target.closest('.icon-select__icon-select');
if (btn.classList.contains('icon-select__icon--custom-selected')) {
return;
}
this.$el.find('.icon-select__file-input').click();
}

Loading…
Cancel
Save