Skip to content

Commit

Permalink
Improve compatibility with WordPress 5.7 to close #11
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Mar 1, 2021
1 parent eed37e8 commit 39f5785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/category-icon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function ($) {
$(window).load(function () {
$(window).on('load', function () {

$(document).on('click', '.open_term_icon_upload', function (e) {
e.preventDefault();
Expand Down Expand Up @@ -156,7 +156,7 @@



$(window).load(function () {
$(window).on('load', function () {

$(document).on('click', '.open_term_image_upload', function (e) {
e.preventDefault();
Expand Down

0 comments on commit 39f5785

Please sign in to comment.