Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Updating to use classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Oct 6, 2015
1 parent f0d41bc commit bc55cec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions examples/conditional-fields/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<style type="text/css">
.container { margin-top: 20px; }
#formio-component-model, #formio-component-year { display: none; }
.formio-component-model, .formio-component-year { display: none; }
</style>
</head>
<body ng-app="formioForm">
Expand Down Expand Up @@ -101,7 +101,7 @@
selected[key] = newValue;
if (key === 'make') {
selected.model = '';
jQuery('#formio-component-model').show();
jQuery('.formio-component-model').show();
if (model) {
model.scope.data.model = '';
}
Expand All @@ -111,7 +111,7 @@
}
}
if (key === 'model') {
jQuery('#formio-component-year').show();
jQuery('.formio-component-year').show();
selected.year = '';
}

Expand Down
Loading

0 comments on commit bc55cec

Please sign in to comment.