Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fixed email window.location error #139

Benjaminde61c3e8297d
diff --git a/web/js/link/wv.link.ui.js b/web/js/link/wv.link.ui.js
index fbde1f272..42abbd3fe 100644
--- a/web/js/link/wv.link.ui.js
+++ b/web/js/link/wv.link.ui.js
@@ -84,7 +84,7 @@ wv.link.ui = wv.link.ui || function(models, config) {
};
var openSocial = function(href, type) {
if(type === 'email') {
- window.location(href);
+ window.location.assign(href);
} else {
window.open(href, '_blank');
}