Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

undone my first commit and changed wger-core.js file

gmmoraes36a52b167bb0
diff --git a/wger/core/static/js/wger-core.js b/wger/core/static/js/wger-core.js
index c42fb9eef..e078363ed 100644
--- a/wger/core/static/js/wger-core.js
+++ b/wger/core/static/js/wger-core.js
@@ -520,7 +520,7 @@ function wgerInitEditSet() {
initRemoveExerciseFormset();
// Slider to set the number of sets
- $('#id_sets').on('change', function () {
+ $('#id_sets').on('input', function() {
updateAllExerciseFormset();
$('#id_sets_value').html($('#id_sets').val());
});