From 4470d1563c00021d665c840e499459d62fc8fd68 Mon Sep 17 00:00:00 2001 From: Manson Wang Date: Fri, 17 Jan 2014 18:28:29 +0800 Subject: [PATCH] Fix sitemap toggle --- app/views/admin/sites/sitemap.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/sites/sitemap.html.erb b/app/views/admin/sites/sitemap.html.erb index 575913c..a30eaad 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') %>")