diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index c87f3d51df..0266161607 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -894,7 +894,7 @@ $.extend(fixmystreet.set_up, { function disable_on_empty() { // If there are no items found, give a message and disable the Continue button - if (items.length === document.querySelectorAll(".hidden-category-filter").length) { + if (items.length && items.length === document.querySelectorAll(".hidden-category-filter").length) { $('#js-top-message').html('

Please try another search or delete your search and choose from the categories

'); $('.js-reporting-page--next').prop("disabled",true); category_row.style.paddingBottom = null;