Loading state call removal

This commit is contained in:
Josh Johnson 2016-10-02 16:43:00 +01:00
parent 0faad12d08
commit 514d68890b
2 changed files with 1 additions and 2 deletions

View file

@ -1328,7 +1328,6 @@ export default class Choices {
// If backspace or delete key is pressed and the input has no value
if (hasFocusedInput && !e.target.value && this.passedElement.type !== 'select-one') {
this._handleBackspace(activeItems);
this._handleLoadingState(false);
e.preventDefault();
}
};

View file

@ -12,7 +12,7 @@
"css:min": "csso assets/styles/css/base.css assets/styles/css/base.min.css && csso assets/styles/css/choices.css assets/styles/css/choices.min.css",
"js:build": "webpack --minimize --config webpack.config.prod.js && webpack --config webpack.config.prod.js",
"js:test": "./node_modules/karma/bin/karma start --single-run --no-auto-watch tests/karma.config.js",
"js:test_watch": "./node_modules/karma/bin/karma start --auto-watch --no-single-run tests/karma.config.js"
"js:test:watch": "./node_modules/karma/bin/karma start --auto-watch --no-single-run tests/karma.config.js"
},
"repository": {
"type": "git",