Skip to content

Commit

Permalink
fix old jQuery live, fixes unable to select logo
Browse files Browse the repository at this point in the history
  • Loading branch information
tripflex committed Oct 7, 2020
1 parent 6e504d6 commit 942a3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/core/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var file_frame;

jQuery(function ( $ ) {
$( '.wplf-upload-show' ).live( 'click', function ( event ) {
$( '.wplf-upload-show' ).on( 'click', function ( event ) {

event.preventDefault();
var fileInput = $( this ).data( 'name' );
Expand Down

0 comments on commit 942a3f5

Please sign in to comment.