aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/jquery.multi-select.js
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2017-05-24 12:34:27 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-05-31 16:52:32 +0100
commit5be830a2b20e7b8ff9abd67e818f15e95ae39ea6 (patch)
tree5046fc19e34b02ee93113c10dc436f52dd3a5a27 /web/js/jquery.multi-select.js
parent655d6b3728f89bdd670b9b08847172d2321f63d7 (diff)
Linting fixes to jquery.multi-select.js
Diffstat (limited to 'web/js/jquery.multi-select.js')
-rw-r--r--web/js/jquery.multi-select.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/web/js/jquery.multi-select.js b/web/js/jquery.multi-select.js
index 6f3ae8de7..38921b147 100644
--- a/web/js/jquery.multi-select.js
+++ b/web/js/jquery.multi-select.js
@@ -2,9 +2,7 @@
// by mySociety
// https://github.com/mysociety/jquery-multi-select
-;(function($) {
-
- "use strict";
+(function($) {
var pluginName = "multiSelect",
defaults = {
@@ -122,7 +120,7 @@
this.$button.empty();
- if (selected.length == 0) {
+ if (selected.length === 0) {
this.$button.text( this.settings.noneText );
} else if ( (selected.length === options.length) && this.settings.allText) {
this.$button.text( this.settings.allText );