diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/staff.js | 2 | ||||
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/staff.js b/web/cobrands/fixmystreet/staff.js index ec71ae20f..07a2729e2 100644 --- a/web/cobrands/fixmystreet/staff.js +++ b/web/cobrands/fixmystreet/staff.js @@ -93,7 +93,7 @@ $.extend(fixmystreet.set_up, { }, list_item_actions: function() { - $('.item-list--reports').on('click', ':submit', function(e) { + $('#js-reports-list').on('click', ':submit', function(e) { e.preventDefault(); var $submitButton = $(this); diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 53535b146..6a0d938fc 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -674,7 +674,7 @@ var fixmystreet = fixmystreet || {}; (function() { var timeout; - $('.item-list--reports').on('mouseenter', '.item-list--reports__item', function(){ + $('#js-reports-list').on('mouseenter', '.item-list--reports__item', function(){ var href = $('a', this).attr('href'); var id = parseInt(href.replace(/^.*[\/]([0-9]+)$/, '$1'),10); clearTimeout(timeout); |