Skip to content

Commit 576a312

Browse files
committed
Fixed VvvebJs image does not change after selecting new image from media modal
1 parent e6dc5f8 commit 576a312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/vvvebjs/plugin-media.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ImageInput = { ...ImageInput, ...{
5555
//Vvveb.MediaModal.mediaPath = window.mediaPath;
5656
}
5757

58-
Vvveb.MediaModal.open(this.closest(["data-target-input"]));
58+
Vvveb.MediaModal.open(this.closest("[data-target-input]"));
5959
},
6060

6161
init: function(data) {

0 commit comments

Comments
 (0)