diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 89732cf05..84247c7e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ * Unreleased - Bugfixes: - Fix bug specifying category in URL on /around. #1950 + - Fix bug with multiple select-multiples on a page. #1951 - Make sure dashboard filters all fit onto one line. - Fix issue with red bars on bar graph of many categories. - Prefetch translations in /reports list of bodies. diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index d6ea9de18..be8500729 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -112,8 +112,9 @@ function isR2L() { }, make_multi: function() { - // A convenience wrapper around $.multiSelect() that translates HTML - // data-* attributes into settings for the multiSelect constructor. + // A convenience wrapper around $.multiSelect() that translates HTML + // data-* attributes into settings for the multiSelect constructor. + return this.each(function() { var $select = $(this); var settings = {}; @@ -144,6 +145,7 @@ function isR2L() { } $select.multiSelect(settings); + }); } }); |