Skip to content

Commit b93af46

Browse files
author
Emanuele
authored
Merge pull request #682 from RohanSakhale/version-update
Updated version
2 parents 9f08a46 + 9fdaa37 commit b93af46

File tree

8 files changed

+19
-18
lines changed

8 files changed

+19
-18
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "components/bootstrap-switch",
33
"description": "Turn checkboxes and radio buttons into toggle switches.",
4-
"version": "3.3.4",
4+
"version": "3.3.5",
55
"type": "component",
66
"keywords": [
77
"bootstrap",

dist/css/bootstrap2/bootstrap-switch.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
22
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
33
*
4-
* @version v3.3.4
4+
* @version v3.3.5
55
* @homepage https://bttstrp.github.io/bootstrap-switch
66
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
7-
* @license Apache-2.0
7+
* @license MIT
88
*/
99

1010
.clearfix {

dist/css/bootstrap2/bootstrap-switch.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap3/bootstrap-switch.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
22
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
33
*
4-
* @version v3.3.4
4+
* @version v3.3.5
55
* @homepage https://bttstrp.github.io/bootstrap-switch
66
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
7-
* @license Apache-2.0
7+
* @license MIT
88
*/
99

1010
.bootstrap-switch {

dist/css/bootstrap3/bootstrap-switch.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/bootstrap-switch.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
22
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
33
*
4-
* @version v3.3.4
4+
* @version v3.3.5
55
* @homepage https://bttstrp.github.io/bootstrap-switch
66
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
7-
* @license Apache-2.0
7+
* @license MIT
88
*/
99

1010
(function (global, factory) {
@@ -393,7 +393,8 @@
393393
args[_key] = arguments[_key];
394394
}
395395

396-
if (_this9.options.onSwitchChange.apply(element, args) === false) {
396+
var changeState = _this9.options.onSwitchChange.apply(element, args);
397+
if (changeState === false) {
397398
if (_this9.$element.is(':radio')) {
398399
$('[name="' + _this9.$element.attr('name') + '"]').trigger('previousState.bootstrapSwitch', true);
399400
} else {

0 commit comments

Comments
 (0)