Closed affonso closed 9 years ago
The propagation of the click event don't permits the execution of operations with the post's Featured Image (add, edit, or remove operations).
Changed wp-front-end-editor/js/fee.js at line 850:
$thumbnailEdit.on( 'click.fee-edit-thumbnail', function() {
to:
$thumbnailEdit.on( 'click.fee-edit-thumbnail', function(event) { event.preventDefault();
Changed in the same way in ~ line 855 too, at "$thumbnailRemove.on".
And now it is working in all themes I've tested.
Thanks for noticing! :)
What themes have you tested? I don't see what the problem is actually, because the element being clicked is not a link but a div.
The propagation of the click event don't permits the execution of operations with the post's Featured Image (add, edit, or remove operations).
Changed wp-front-end-editor/js/fee.js at line 850:
to:
Changed in the same way in ~ line 855 too, at "$thumbnailRemove.on".
And now it is working in all themes I've tested.