Fix sitemap toggle

This commit is contained in:
Manson Wang 2014-01-17 18:15:37 +08:00
parent 332658d394
commit 92f1f44e4b
1 changed files with 1 additions and 1 deletions

View File

@ -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') %>")