Fix sitemap toggle
This commit is contained in:
parent
332658d394
commit
92f1f44e4b
|
@ -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') %>")
|
||||
|
|
Reference in New Issue