Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from konnektiv/fix-remove-icon
Browse files Browse the repository at this point in the history
trigger a change when icon is removed
  • Loading branch information
houke authored Jan 14, 2021
2 parents c2edd03 + 0832b62 commit c8608c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@
.find('.acf-icon-picker__svg')
.html('<span class="acf-icon-picker__svg--span">+</span>');

jQuery('.acf-icon-picker__img input').trigger('change');

parent
.find('.acf-icon-picker__remove')
.removeClass('acf-icon-picker__remove--active');
Expand Down

0 comments on commit c8608c1

Please # to comment.