Skip to content

Commit

Permalink
Fire change event when toggled, fixes #422
Browse files Browse the repository at this point in the history
  • Loading branch information
Damir Sultanov committed Oct 9, 2020
1 parent 6478a56 commit 6f311ed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [1.0.3] - 2020-10-10

### Changed
- Reformatted this changelog
- Reformatted changelog

### Fixed
- Fire change event when toggled @rafatmyo

## [1.0.2] - 2014-03-03

Expand Down
4 changes: 2 additions & 2 deletions icheck.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* iCheck v1.0.2, http://git.io/arlzeA
* iCheck v1.0.3, http://git.io/arlzeA
* ===================================
* Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
*
Expand Down Expand Up @@ -503,7 +503,7 @@
input[_callback]('ifToggled');
}

input[_callback]('ifChanged')[_callback]('if' + capitalize(callback));
input[_callback]('change')[_callback]('ifChanged')[_callback]('if' + capitalize(callback));
}
}
})(window.jQuery || window.Zepto);
29 changes: 18 additions & 11 deletions icheck.min.js

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

0 comments on commit 6f311ed

Please sign in to comment.