Interactive interface for browsing global, full-resolution satellite imagery
autodisable bug fix
Benjamin7d55ef428fae
diff --git a/web/js/layers/wv.layers.active.js b/web/js/layers/wv.layers.active.jsindex 5ba599084..058707ec6 100644--- a/web/js/layers/wv.layers.active.js+++ b/web/js/layers/wv.layers.active.js@@ -386,6 +386,8 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {var toggleVisibility = function(event) {var $action = $(this).find('.hideReg');+ if($(this).parent().hasClass('disabled'))+ return;if ( $(this).attr("data-action") === "show" ) {model.setVisibility($(this).attr("data-layer"), true);} else {