mirror of
https://github.com/Choices-js/Choices.git
synced 2024-04-28 12:02:46 +02:00
Version 4.0.5
This commit is contained in:
parent
6192ebd5db
commit
8d1aa239ac
|
@ -1,4 +1,4 @@
|
|||
/*! choices.js v4.0.4 | (c) 2018 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
||||
/*! choices.js v4.0.5 | (c) 2018 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
//CommonJS2
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
|
@ -3521,7 +3521,7 @@ var Choices = function () {
|
|||
var target = _ref9.target;
|
||||
|
||||
if (this.containerOuter.element.contains(target)) {
|
||||
if (!this.dropdown.isActive) {
|
||||
if (!this.dropdown.isActive && !this.containerOuter.isDisabled) {
|
||||
if (this._isTextElement) {
|
||||
if (document.activeElement !== this.input.element) {
|
||||
this.input.focus();
|
||||
|
@ -3972,7 +3972,7 @@ var Choices = function () {
|
|||
this.input.setWidth(true);
|
||||
}
|
||||
|
||||
if (!this.config.addItems) {
|
||||
if (!this.config.addItems || this.passedElement.element.hasAttribute('disabled')) {
|
||||
this.disable();
|
||||
}
|
||||
|
||||
|
|
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">
|
||||
|
||||
<!-- Ignore these -->
|
||||
<link rel="stylesheet" href="assets/styles/base.min.css?version=4.0.4">
|
||||
<link rel="stylesheet" href="assets/styles/base.min.css?version=4.0.5">
|
||||
<!-- End ignore these -->
|
||||
|
||||
<!-- Optional includes -->
|
||||
|
@ -24,8 +24,8 @@
|
|||
<!-- End optional includes -->
|
||||
|
||||
<!-- Choices includes -->
|
||||
<link rel="stylesheet" href="assets/styles/choices.min.css?version=4.0.4">
|
||||
<script src="assets/scripts/choices.min.js?version=4.0.4"></script>
|
||||
<link rel="stylesheet" href="assets/styles/choices.min.css?version=4.0.5">
|
||||
<script src="assets/scripts/choices.min.js?version=4.0.5"></script>
|
||||
<!-- End Choices includes -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
|
|
Loading…
Reference in a new issue