Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Init the toggle function for weight logs

Roland Geider7ee5ef1711d1
diff --git a/wger/exercises/templates/mobile/view.html b/wger/exercises/templates/mobile/view.html
index dc0e47539..a41b7ed9f 100644
--- a/wger/exercises/templates/mobile/view.html
+++ b/wger/exercises/templates/mobile/view.html
@@ -195,6 +195,11 @@ included in the database.{% endblocktrans %}
{% render_weight_log logs svg_uuid %}
<script>
$(document).ready(function() {
+
+ // Init the data toggle for the weight log tables
+ toggle_weight_log_table();
+
+ // Draw the user's weight log chart
weight_log_chart({{json|safe}},
"{{svg_uuid}}",
"{{reps}}",