diff --git a/app/views/admin/sites/sitemap.html.erb b/app/views/admin/sites/sitemap.html.erb index 575913c7..a30eaadb 100644 --- a/app/views/admin/sites/sitemap.html.erb +++ b/app/views/admin/sites/sitemap.html.erb @@ -48,7 +48,7 @@ }); }) }); - $(document).on('click', 'li .onoff', function () { + $(document).on('click', 'li .map-block .onoff', function () { $(this).parents("li").toggleClass("disabled"); if($(this).parents("li").attr("class").indexOf("disabled") > 0){ $(this).text("<%= t('off_upcase') %>")