mirror of https://github.com/keeweb/keeweb
fix #1780: custom icon selection issue
This commit is contained in:
parent
e4fa4cc413
commit
09fe1a4649
|
@ -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…
Reference in New Issue