mirror of
https://github.com/Choices-js/Choices.git
synced 2026-03-14 14:45:47 +01:00
Version 4.0.4
This commit is contained in:
parent
98c5cadc50
commit
2c9f85d007
4 changed files with 9 additions and 8 deletions
|
|
@ -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) {
|
||||
//CommonJS2
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
|
|
@ -3347,7 +3347,6 @@ var Choices = function () {
|
|||
}
|
||||
|
||||
if (hasActiveDropdown) {
|
||||
event.preventDefault();
|
||||
var highlighted = this.dropdown.getChild('.' + this.config.classNames.highlightedState);
|
||||
|
||||
// If we have a highlighted choice
|
||||
|
|
@ -3358,6 +3357,8 @@ var Choices = function () {
|
|||
}
|
||||
this._handleChoiceAction(activeItems, highlighted);
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
} else if (this._isSelectOneElement) {
|
||||
// Open single select dropdown if it's not active
|
||||
this.showDropdown();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
4
assets/scripts/choices.min.js
vendored
4
assets/scripts/choices.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue