mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-09 00:56:34 +02:00
Version 2.7.2
This commit is contained in:
parent
6abeb65c95
commit
f485814dd0
7
assets/scripts/dist/choices.js
vendored
7
assets/scripts/dist/choices.js
vendored
|
@ -1,4 +1,4 @@
|
|||
/*! choices.js v2.7.1 | (c) 2017 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
||||
/*! choices.js v2.7.2 | (c) 2017 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
module.exports = factory();
|
||||
|
@ -1344,6 +1344,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
|
||||
return function (results, value, label) {
|
||||
if (!results || !value) return;
|
||||
|
||||
var parsedResults = (0, _utils.isType)('Object', results) ? [results] : results;
|
||||
|
||||
if (parsedResults && (0, _utils.isType)('Array', parsedResults) && parsedResults.length) {
|
||||
|
@ -1359,7 +1360,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
_this16._addChoice(isSelected, isDisabled, result[value], result[label]);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
// No results, remove loading state
|
||||
_this16._handleLoadingState(false);
|
||||
}
|
||||
|
||||
_this16.containerOuter.removeAttribute('aria-busy');
|
||||
};
|
||||
}
|
||||
|
|
2
assets/scripts/dist/choices.js.map
vendored
2
assets/scripts/dist/choices.js.map
vendored
File diff suppressed because one or more lines are too long
4
assets/scripts/dist/choices.min.js
vendored
4
assets/scripts/dist/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "choices.js",
|
||||
"version": "2.7.1",
|
||||
"version": "2.7.2",
|
||||
"description": "A vanilla JS customisable text input/select box plugin",
|
||||
"main": [
|
||||
"./assets/scripts/dist/choices.js",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<!-- Ignore these -->
|
||||
<link rel="stylesheet" href="assets/styles/css/base.min.css?version=2.7.1">
|
||||
<link rel="stylesheet" href="assets/styles/css/base.min.css?version=2.7.2">
|
||||
<!-- End ignore these -->
|
||||
|
||||
<!-- Optional includes -->
|
||||
|
@ -23,8 +23,8 @@
|
|||
<!-- End optional includes -->
|
||||
|
||||
<!-- Choices includes -->
|
||||
<link rel="stylesheet" href="assets/styles/css/choices.min.css?version=2.7.1">
|
||||
<script src="assets/scripts/dist/choices.min.js?version=2.7.1"></script>
|
||||
<link rel="stylesheet" href="assets/styles/css/choices.min.css?version=2.7.2">
|
||||
<script src="assets/scripts/dist/choices.min.js?version=2.7.2"></script>
|
||||
<!-- End Choices includes -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "choices.js",
|
||||
"version": "2.7.1",
|
||||
"version": "2.7.2",
|
||||
"description": "A vanilla JS customisable text input/select box plugin",
|
||||
"main": "./assets/scripts/dist/choices.min.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue