From 514d68890b66cb5c24966e23e6a9897c17f16713 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sun, 2 Oct 2016 16:43:00 +0100 Subject: [PATCH] Loading state call removal --- assets/scripts/src/choices.js | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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",