mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-12 02:26:35 +02:00
Version 4.0.4
This commit is contained in:
parent
4d87fa6532
commit
11e9719bbb
|
@ -1,4 +1,4 @@
|
||||||
/*! choices.js v4.0.3 | (c) 2018 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
/*! choices.js v4.0.4 | (c) 2018 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
//CommonJS2
|
//CommonJS2
|
||||||
if(typeof exports === 'object' && typeof module === 'object')
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
|
@ -3347,7 +3347,6 @@ var Choices = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasActiveDropdown) {
|
if (hasActiveDropdown) {
|
||||||
event.preventDefault();
|
|
||||||
var highlighted = this.dropdown.getChild('.' + this.config.classNames.highlightedState);
|
var highlighted = this.dropdown.getChild('.' + this.config.classNames.highlightedState);
|
||||||
|
|
||||||
// If we have a highlighted choice
|
// If we have a highlighted choice
|
||||||
|
@ -3358,6 +3357,8 @@ var Choices = function () {
|
||||||
}
|
}
|
||||||
this._handleChoiceAction(activeItems, highlighted);
|
this._handleChoiceAction(activeItems, highlighted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
event.preventDefault();
|
||||||
} else if (this._isSelectOneElement) {
|
} else if (this._isSelectOneElement) {
|
||||||
// Open single select dropdown if it's not active
|
// Open single select dropdown if it's not active
|
||||||
this.showDropdown();
|
this.showDropdown();
|
||||||
|
|
File diff suppressed because one or more lines are too long
4
public/assets/scripts/choices.min.js
vendored
4
public/assets/scripts/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
|
||||||
<!-- Ignore these -->
|
<!-- Ignore these -->
|
||||||
<link rel="stylesheet" href="assets/styles/base.min.css?version=4.0.3">
|
<link rel="stylesheet" href="assets/styles/base.min.css?version=4.0.4">
|
||||||
<!-- End ignore these -->
|
<!-- End ignore these -->
|
||||||
|
|
||||||
<!-- Optional includes -->
|
<!-- Optional includes -->
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
<!-- End optional includes -->
|
<!-- End optional includes -->
|
||||||
|
|
||||||
<!-- Choices includes -->
|
<!-- Choices includes -->
|
||||||
<link rel="stylesheet" href="assets/styles/choices.min.css?version=4.0.3">
|
<link rel="stylesheet" href="assets/styles/choices.min.css?version=4.0.4">
|
||||||
<script src="assets/scripts/choices.min.js?version=4.0.3"></script>
|
<script src="assets/scripts/choices.min.js?version=4.0.4"></script>
|
||||||
<!-- End Choices includes -->
|
<!-- End Choices includes -->
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
|
Loading…
Reference in a new issue