diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-14 12:51:39 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-14 14:03:59 +0000 |
commit | 475b94b44bab33effcd11fb370a3dbe4873e5fad (patch) | |
tree | f6af60b9f1e6beac331b8c2b4e06f4d96f364a7b | |
parent | 86fe23698d2860ae6001c91dc7a376ed95de29a9 (diff) |
Factor all make_multi together.
-rw-r--r-- | web/cobrands/fixmystreet/admin.js | 2 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/web/cobrands/fixmystreet/admin.js b/web/cobrands/fixmystreet/admin.js index 2af950b28..3ed2d8ec5 100644 --- a/web/cobrands/fixmystreet/admin.js +++ b/web/cobrands/fixmystreet/admin.js @@ -48,8 +48,6 @@ $(function(){ } }); - $("select.js-multiple[multiple]").make_multi(); - // on a body's page, hide/show deleted contact categories var $table_with_deleted_contacts = $('table tr.is-deleted td.contact-category').closest('table'); if ($table_with_deleted_contacts.length == 1) { diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 7c7b3a9d0..17748444a 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -601,8 +601,7 @@ $.extend(fixmystreet.set_up, { // to refresh the map when the filter inputs are changed. $(".report-list-filters [type=submit]").hide(); - $('#statuses').make_multi(); - $('#filter_categories').make_multi(); + $('.js-multiple').make_multi(); }, mobile_ui_tweaks: function() { |