Files app: Fix broken images when running as JS Modules.
When running as non-js-modules the <bread-crumb> has its images in-lined by grit, however when running as JS modules the <bread-crumb> is in-lined via rollup, then it runs from the path foreground/js/ instead of its actual path foreground/js/ui/ making the relative address to its images incompatible. Fix by duplicating the 2 affected images, moving them up 1 directory so the relative path is consistent. NOTE: These 2 images are the only references to "/images" inside the ui/ directory. [1] [1] - https://source.chromium.org/search?q=%22images%2F%22&sq=&ss=chromium%2Fchromium%2Fsrc:ui%2Ffile_manager%2Ffile_manager%2Fforeground%2Fjs%2Fui%2F Bug: 1133186 Change-Id: I71a10286c325e54c3adecc0f079002aeab7a0344 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640006Reviewed-by:Jeremie Boulic <jboulic@chromium.org> Commit-Queue: Jeremie Boulic <jboulic@chromium.org> Cr-Commit-Position: refs/heads/master@{#845547}
Showing
Please register or sign in to comment