Skip to content
This repository was archived by the owner on Nov 3, 2020. It is now read-only.

Commit 836455a

Browse files
committed
Ship v1.13.1
1 parent 341303d commit 836455a

File tree

161 files changed

+209
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+209
-178
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions

README.md

Lines changed: 3 additions & 3 deletions

dist/css/bootstrap-select.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-select.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/bootstrap-select.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-select v1.13.0 (https://developer.snapappointments.com/bootstrap-select)
2+
* Bootstrap-select v1.13.1 (https://developer.snapappointments.com/bootstrap-select)
33
*
44
* Copyright 2012-2018 SnapAppointments, LLC
55
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
@@ -370,8 +370,15 @@
370370
}
371371

372372
var version = {};
373-
version.full = ($.fn.dropdown.Constructor.VERSION || '').split(' ')[0].split('.');
374-
version.major = version.full[0];
373+
374+
try {
375+
version.full = ($.fn.dropdown.Constructor.VERSION || '').split(' ')[0].split('.');
376+
version.major = version.full[0];
377+
}
378+
catch(err) {
379+
console.error('There was an issue retrieving Bootstrap\'s version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision.', err);
380+
version.major = '3';
381+
}
375382

376383
var classNames = {
377384
DISABLED: 'disabled',
@@ -457,7 +464,7 @@
457464
this.init();
458465
};
459466

460-
Selectpicker.VERSION = '1.13.0';
467+
Selectpicker.VERSION = '1.13.1';
461468

462469
// part of this is duplicated in i18n/defaults-en_US.js. Make sure to update both.
463470
Selectpicker.DEFAULTS = {
@@ -992,7 +999,7 @@
992999

9931000
if (options.optionSubtext) {
9941001
optionSubtextElement = elementTemplates.subtext.cloneNode(false);
995-
optionSubtextElement.textContent = options.optionSubtext;
1002+
optionSubtextElement.innerHTML = options.optionSubtext;
9961003
textElement.appendChild(optionSubtextElement);
9971004
}
9981005
}
@@ -1379,7 +1386,8 @@
13791386
}
13801387

13811388
if (this.options.title == undefined) {
1382-
this.options.title = this.$element[0].title;
1389+
// use .attr to ensure undefined is returned if title attribute is not set
1390+
this.options.title = this.$element.attr('title');
13831391
}
13841392

13851393
if (this.options.selectedTextFormat == 'static') {

dist/js/bootstrap-select.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/bootstrap-select.min.js

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

dist/js/i18n/defaults-ar_AR.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-select v1.13.0 (https://developer.snapappointments.com/bootstrap-select)
2+
* Bootstrap-select v1.13.1 (https://developer.snapappointments.com/bootstrap-select)
33
*
44
* Copyright 2012-2018 SnapAppointments, LLC
55
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)

dist/js/i18n/defaults-ar_AR.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-select v1.13.0 (https://developer.snapappointments.com/bootstrap-select)
2+
* Bootstrap-select v1.13.1 (https://developer.snapappointments.com/bootstrap-select)
33
*
44
* Copyright 2012-2018 SnapAppointments, LLC
55
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)

dist/js/i18n/defaults-bg_BG.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap-select v1.13.0 (https://developer.snapappointments.com/bootstrap-select)
2+
* Bootstrap-select v1.13.1 (https://developer.snapappointments.com/bootstrap-select)
33
*
44
* Copyright 2012-2018 SnapAppointments, LLC
55
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)

0 commit comments

Comments
 (0)