aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/jquery.multi-select.js
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2017-11-03 16:13:59 +0100
committerMarius Halden <marius.h@lden.org>2017-11-03 16:13:59 +0100
commit42d874db498d0fabae92d0c87acf99054d92391b (patch)
treed0cf5afdee3d244c4e5da6fe1ab9acba620634df /web/js/jquery.multi-select.js
parent19a7c5dda85a47a68040c742791e9cd9d3e52be6 (diff)
parentdc7613329c275cd158fdde8faf1c0e301f5b7202 (diff)
Merge tag 'v2.2' into fiksgatami-dev
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 );