Skip to content

Commit

Permalink
Run-Once: Fix bug with buttons triggering multiple times on subsequen…
Browse files Browse the repository at this point in the history
…t page views
  • Loading branch information
salbahra committed Aug 27, 2024
1 parent ebdce5c commit 5d0dd36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7368,7 +7368,8 @@ var getRunonce = ( function() {
fillRunonce( rprogs[ prog ] );
} );

page.on( "click", ".rsubmit", submitRunonce ).on( "click", ".rreset", resetRunonce );
page.find( ".rsubmit" ).on( "click", submitRunonce );
page.find( ".rreset" ).on( "click", resetRunonce );

page.find( "[id^='zone-']" ).on( "click", function() {
var dur = $( this ),
Expand Down

0 comments on commit 5d0dd36

Please sign in to comment.