Version 4.0.2

This commit is contained in:
Josh Johnson 2018-10-28 09:35:46 +00:00
parent 7920f20c98
commit f6c77fbac0
4 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
/*! choices.js v4.0.1 | (c) 2018 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/*! choices.js v4.0.2 | (c) 2018 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
(function webpackUniversalModuleDefinition(root, factory) {
//CommonJS2
if(typeof exports === 'object' && typeof module === 'object')
@ -2029,7 +2029,7 @@ var TEMPLATES = exports.TEMPLATES = {
return (0, _utils.strToEl)('\n <div class="' + localClasses + '">\n ' + label + '\n </div>\n ');
},
option: function option(data) {
return (0, _utils.strToEl)('\n <option value="' + data.value + '" ' + (data.selected ? 'selected' : '') + ' ' + (data.disabled ? 'disabled' : '') + '>' + data.label + '</option>\n ');
return (0, _utils.strToEl)('\n <option value="' + data.value + '" ' + (data.active ? 'selected' : '') + ' ' + (data.disabled ? 'disabled' : '') + '>' + data.label + '</option>\n ');
}
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,7 @@
<meta name="theme-color" content="#ffffff">
<!-- Ignore these -->
<link rel="stylesheet" href="assets/styles/base.min.css?version=3.0.2">
<link rel="stylesheet" href="assets/styles/base.min.css?version=4.0.2">
<!-- End ignore these -->
<!-- Optional includes -->
@ -24,8 +24,8 @@
<!-- End optional includes -->
<!-- Choices includes -->
<link rel="stylesheet" href="assets/styles/choices.min.css?version=3.0.2">
<script src="assets/scripts/choices.min.js?version=2.8.8"></script>
<link rel="stylesheet" href="assets/styles/choices.min.css?version=4.0.2">
<script src="assets/scripts/choices.min.js?version=4.0.2"></script>
<!-- End Choices includes -->
<!--[if lt IE 9]>