Skip to content

Commit

Permalink
Merge pull request #70 from legalthings/fix-radio-buttons
Browse files Browse the repository at this point in the history
Fix radio buttons disappearing
  • Loading branch information
svenstm authored Aug 2, 2017
2 parents b203adb + 7c74dc7 commit 217de16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/ractive-legalform.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@
onChangeLegalForm: function (newValue, oldValue, keypath) {
if (this.isCondition(keypath)) {
this.onChangeCondition(newValue, oldValue, keypath);
if ($(this.el).hasClass('material')) {
$(this.el).toMaterial();
}
}

if ($(this.el).hasClass('material')) {
$(this.el).toMaterial();
}

this.updateExpressions(newValue, oldValue, keypath);
Expand Down

0 comments on commit 217de16

Please sign in to comment.