From 673731af26ce63d50b58e281ca194cf8ea8fe249 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 19 Jul 2022 07:50:22 +0200 Subject: [PATCH] slider --- rowers/templates/instroke_interactive.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rowers/templates/instroke_interactive.html b/rowers/templates/instroke_interactive.html index ccb5fedc..fc5ce530 100644 --- a/rowers/templates/instroke_interactive.html +++ b/rowers/templates/instroke_interactive.html @@ -64,10 +64,12 @@ $( function() { slide: function( event, ui ) { $( "#id_spm_min" ).val( ui.values[ 0 ]); $( "#id_spm_max" ).val(ui.values[ 1 ] ); - console.log(event); } }); + $("#instrokeform").mouseup(function() { + submit_form(); + }); } ); @@ -98,7 +100,10 @@ $( function() { {{ form.as_table }}
+
+ Stroke Rate Slider
+