diff --git a/assets/scripts/src/choices.js b/assets/scripts/src/choices.js index 5330454..13238e2 100644 --- a/assets/scripts/src/choices.js +++ b/assets/scripts/src/choices.js @@ -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(); } }; diff --git a/package.json b/package.json index c76eeae..3f38a1f 100644 --- a/package.json +++ b/package.json @@ -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",