Fix sitemap toggle
This commit is contained in:
parent
6935695d9b
commit
4470d1563c
|
@ -48,7 +48,7 @@
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
$(document).on('click', 'li .onoff', function () {
|
$(document).on('click', 'li .map-block .onoff', function () {
|
||||||
$(this).parents("li").toggleClass("disabled");
|
$(this).parents("li").toggleClass("disabled");
|
||||||
if($(this).parents("li").attr("class").indexOf("disabled") > 0){
|
if($(this).parents("li").attr("class").indexOf("disabled") > 0){
|
||||||
$(this).text("<%= t('off_upcase') %>")
|
$(this).text("<%= t('off_upcase') %>")
|
||||||
|
|
Loading…
Reference in New Issue