Update polyfill url

This commit is contained in:
Josh Johnson 2019-03-29 09:08:42 +00:00
commit 6be91fc4b4
3 changed files with 18 additions and 18 deletions

View file

@ -2114,13 +2114,13 @@ function () {
var label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
var replaceChoices = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
if (!this._isSelectElement || !choices.length || !value) {
if (!this._isSelectElement || !value) {
return this;
} // Clear choices if needed
if (replaceChoices) {
this._clearChoices();
this.clearChoices();
}
this.containerOuter.removeLoadingState();
@ -2153,6 +2153,11 @@ function () {
return this;
}
}, {
key: "clearChoices",
value: function clearChoices() {
this._store.dispatch((0, _choices.clearChoices)());
}
}, {
key: "clearStore",
value: function clearStore() {
@ -3096,7 +3101,7 @@ function () {
var target = event.target,
shiftKey = event.shiftKey; // If we have our mouse down on the scrollbar and are on IE11...
if (target === this.choiceList && (0, _utils.isIE11)()) {
if (this.choiceList.element.contains(target) && (0, _utils.isIE11)()) {
this._isScrollingOnIe = true;
}
@ -3451,11 +3456,6 @@ function () {
});
}
}
}, {
key: "_clearChoices",
value: function _clearChoices() {
this._store.dispatch((0, _choices.clearChoices)());
}
}, {
key: "_addGroup",
value: function _addGroup(_ref15) {

File diff suppressed because one or more lines are too long