From 92f1f44e4b5b13c05b635eeaf2585979639c6bc6 Mon Sep 17 00:00:00 2001 From: Manson Wang Date: Fri, 17 Jan 2014 18:15:37 +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 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') %>")