Commit 38d087e0 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1866934: removing the extra / from js file paths



For popper and some other hardcoded js libraries

Change-Id: I499e2f18ba6498cd2c97836e238733fa3d5b794f
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 9e9286b4
...@@ -15,6 +15,6 @@ It was fetched from https://unpkg.com/popper.js@1.16.0/dist/umd/popper.min.js ...@@ -15,6 +15,6 @@ It was fetched from https://unpkg.com/popper.js@1.16.0/dist/umd/popper.min.js
Changes: Changes:
- Removed the last line of popper.min.js file: - Removed the last line of popper.min.js file:
//# sourceMappingURL=popper.min.js.map //# sourceMappingURL=popper.min.js.map
Because although it is a comment it is producing a source map warning Because although it is a comment it is producing a source map warning
see (https://stackoverflow.com/questions/47549298/webpack-installing-bootstrap-missing-popper-js-map) see (https://stackoverflow.com/questions/47549298/webpack-installing-bootstrap-missing-popper-js-map)
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
{foreach from=$STYLESHEETLIST item=cssurl} {foreach from=$STYLESHEETLIST item=cssurl}
<link rel="stylesheet" type="text/css" href="{$cssurl}"> <link rel="stylesheet" type="text/css" href="{$cssurl}">
{/foreach} {/foreach}
<script type="application/javascript" src="{$WWWROOT}/js/popper/popper.min.js?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{$WWWROOT}js/popper/popper.min.js?v={$CACHEVERSION}"></script>
<script type="application/javascript" src="{$WWWROOT}/lib/bootstrap/assets/javascripts/bootstrap.min.js?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{$WWWROOT}lib/bootstrap/assets/javascripts/bootstrap.min.js?v={$CACHEVERSION}"></script>
<script type="application/javascript" src="{$WWWROOT}/js/javascript-templates/js/tmpl.min.js?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{$WWWROOT}js/javascript-templates/js/tmpl.min.js?v={$CACHEVERSION}"></script>
<script type="application/javascript" src="{$WWWROOT}/js/masonry/masonry.min.js?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{$WWWROOT}js/masonry/masonry.min.js?v={$CACHEVERSION}"></script>
<script type="application/javascript" src="{theme_url filename='js/pieform.js'}?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{theme_url filename='js/pieform.js'}?v={$CACHEVERSION}"></script>
<script type="application/javascript" src="{theme_url filename='js/formtabs.js'}?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{theme_url filename='js/formtabs.js'}?v={$CACHEVERSION}"></script>
<script type="application/javascript" src="{theme_url filename='js/filebrowser.js'}?v={$CACHEVERSION}"></script> <script type="application/javascript" src="{theme_url filename='js/filebrowser.js'}?v={$CACHEVERSION}"></script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment