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

Commit

Permalink
Merge pull request #64 from chrishumboldt/dev-rocket
Browse files Browse the repository at this point in the history
Small fix to checked status.
  • Loading branch information
chrishumboldt authored May 11, 2017
2 parents 0271205 + 0ad44b3 commit c171a97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var RockMod_Form;
classes.push('_checked');
}
else {
Rocket.classes.remove(element, '_checked');
Rocket.classes.remove(formContainer, '_checked');
}
// Toggler?
if (Rocket.has.class(element, 'toggler')) {
Expand Down
2 changes: 1 addition & 1 deletion build/ts/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module RockMod_Form {
if (element.checked) {
classes.push('_checked');
} else {
Rocket.classes.remove(element, '_checked');
Rocket.classes.remove(formContainer, '_checked');
}
// Toggler?
if (Rocket.has.class(element, 'toggler')) {
Expand Down
2 changes: 1 addition & 1 deletion js/form.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rocket-form",
"version": "3.1.6",
"version": "3.1.7",
"description": "A universal form module.",
"main": "js/form.min.js",
"repository": {
Expand Down

0 comments on commit c171a97

Please sign in to comment.