Skip to content

Commit

Permalink
replace backslash // dist (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDeSwa authored Jan 12, 2025
1 parent 71887b6 commit 969738a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/dist/media_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ var _default = /*#__PURE__*/function (_Controller) {
iframeContent.addEventListener('click', function (e) {
for (var target = e.target; target && target !== this; target = target.parentNode) {
if (target.matches('.select')) {
self.pathValue = target.dataset.path;
// self.pathValue = target.dataset.path;
self.pathValue = target.dataset.path.replace(/%5C/g, '/');
self.fileManagerModalTarget.querySelector('.modal-footer button').click();
break;
}
Expand Down Expand Up @@ -299,4 +300,4 @@ _default.values = {
path: String
};
export { _default as default };
;
;

0 comments on commit 969738a

Please sign in to comment.