diff options
Diffstat (limited to 'public/assets/js/infra-status.js')
-rw-r--r-- | public/assets/js/infra-status.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/js/infra-status.js b/public/assets/js/infra-status.js index f13ffc5..5b31df8 100644 --- a/public/assets/js/infra-status.js +++ b/public/assets/js/infra-status.js @@ -38,10 +38,10 @@ jQuery(function($) { return false; } else { - var affected_notices = $("div.notice[data-services*=" + $(this).data('service') +"]"); + var affected_notices = $("div.notice[data-services~='" + $(this).data('service') +"']"); if (affected_notices.length > 0) { - $("div.notice:not([data-services*=" + $(this).data('service') +"])").hide(400); + $("div.notice:not([data-services~='" + $(this).data('service') +"'])").hide(400); affected_notices.show(400); $('#notices-for').html('for ' + $(this).data('service-name')); $('a.notice-link.active').removeClass('active'); |