Fix sitemap toggle

This commit is contained in:
Manson Wang 2014-01-17 18:28:29 +08:00
parent 6935695d9b
commit 4470d1563c
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') %>")