Skip to content

Commit

Permalink
Corrected selector in media library picker JavaScript. Fixes OrchardC…
Browse files Browse the repository at this point in the history
  • Loading branch information
DaRosenberg committed May 19, 2017
1 parent 6ea2b8c commit 1b2df0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
element.on("click",'.media-library-picker-remove', function(e) {
e.preventDefault();
if (!confirm(removePrompt)) return false;
$(this).closest('li').remove();
$(this).closest('.media-library-picker.items > ul > li').remove();
refreshIds();
showSaveMsg();
return false;
Expand Down

0 comments on commit 1b2df0c

Please sign in to comment.