Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix issue with missing dependency

Roland Geidera930863e6443
diff --git a/package.json b/package.json
index b48997dbd..b144f51f2 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
},
"homepage": "https://github.com/wger-project/wger",
"dependencies": {
+ "Sortable": "RubaXa/Sortable#1.13.0",
"yarn": "^1.22.5",
"bootstrap": "4.6.0",
"components-font-awesome": "5.9.0",
@@ -26,7 +27,8 @@
"metrics-graphics": "^2.15.6",
"shariff": "^3.2.1",
"tinymce": "^5.8.1",
- "masonry-layout": "^4.2.2"
+ "masonry-layout": "^4.2.2",
+ "popper.js": "^1.16.1"
},
"scripts": {
"build:css:sass": "sass wger/core/static/scss/main.scss:wger/core/static/yarn/bootstrap-compiled.css"
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html
index 00e3d618d..61109f510 100644
--- a/wger/core/templates/template.html
+++ b/wger/core/templates/template.html
@@ -63,7 +63,7 @@
<script src="{% static 'yarn/jquery/dist/jquery.js' %}"></script>
<script src="{% static 'yarn/bootstrap/dist/js/bootstrap.bundle.min.js' %}"></script>
<script src="{% static 'yarn/Sortable/Sortable.min.js' %}"></script>
- <script src="{% static 'yarn/d3/d3.js' %}"></script>
+ <script src="{% static 'yarn/d3/dist/d3.js' %}"></script>
<script src="{% static 'yarn/metrics-graphics/dist/metricsgraphics.min.js' %}"></script>
<script src="{% static 'yarn/devbridge-autocomplete/dist/jquery.autocomplete.min.js' %}"></script>
<script src="{% static 'yarn/masonry-layout/dist/masonry.pkgd.min.js' %}"></script>