Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

stopped propagation on checkbox labels

Taylor Gunnoe2d0959c42bd7
diff --git a/web/js/layers/wv.layers.modal.js b/web/js/layers/wv.layers.modal.js
index 993989824..17ee001fd 100644
--- a/web/js/layers/wv.layers.modal.js
+++ b/web/js/layers/wv.layers.modal.js
@@ -579,11 +579,13 @@ wv.layers.modal = wv.layers.modal || function(models, ui, config) {
});
};
var addLayer = function(event) {
+ event.stopPropagation();
model.add( decodeURIComponent( $( this ).val() ) );
};
var removeLayer = function(event) {
+ event.stopPropagation();
model.remove( decodeURIComponent( $( this ).val() ) );
};