Skip to content

Commit

Permalink
fix TOS button enable/disable
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo authored and BryanHouston committed Jun 30, 2020
1 parent 9725edf commit 4300e35
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/assets/javascripts/newflow/newflow_ui.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ NewflowUi = do () ->
enableOnChecked: (targetSelector, sourceSelector) ->
$(document).ready =>

enable_disable_continue = () ->
if $(sourceSelector).is(':checked')
@enableButton(targetSelector)
else
@disableButton(targetSelector)
enable_disable_continue = () =>
this.checkCheckedButton(targetSelector, sourceSelector)

setTimeout(enable_disable_continue, 500)

Expand Down

0 comments on commit 4300e35

Please sign in to comment.