Skip to content

Commit 028a436

Browse files
committed
Bump v1.5.0
1 parent 51b2a13 commit 028a436

20 files changed

+34
-27
lines changed

dist/js/bootstrap-checkbox.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/
66

77
/**
88
* $.inArray: friends with IE8. Use Array.prototype.indexOf in future.
9-
* Use this.element.hidden in future.
109
* $.proxy: friends with IE8. Use Function.prototype.bind in future.
1110
*/
1211

@@ -72,7 +71,7 @@
7271
init: function() {
7372
var fn = this.options.html ? 'html' : 'text';
7473

75-
this.$element.addClass('hidden');
74+
this.element.hidden = true;
7675
this.$group.addClass(this.options.baseGroupCls).addClass(this.options.groupCls);
7776
this.$buttons.addClass(this.options.baseCls).addClass(this.options.cls);
7877

@@ -140,7 +139,7 @@
140139
this.$group.append(this.$buttons).insertAfter(this.element);
141140

142141
// Necessarily after this.$group.append() (autofocus)
143-
if (this.element.disabled) {
142+
if (this.element.readOnly || this.element.disabled) {
144143
this.$buttons.addClass('disabled');
145144

146145
if (this.options.disabledCursor) {

dist/js/bootstrap-checkbox.min.js

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/i18n/bg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/bg.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/es.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/es.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/pl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/pl.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/pt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

dist/js/i18n/pt.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
2+
* Bootstrap-checkbox v1.5.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
33
* Copyright 2013-2018 Vasilii A. (https://github.com/vsn4ik)
44
* Licensed under the MIT license
55
*/

0 commit comments

Comments
 (0)