Interactive interface for browsing global, full-resolution satellite imagery
Removed models from WidgetFactory. Changed 'configs' to 'urlShortening'
ZachTRice82a11105489d
diff --git a/web/js/link/wv.link.ui.js b/web/js/link/wv.link.ui.jsindex 9f6cce6ba..0a0fad6a1 100644--- a/web/js/link/wv.link.ui.js+++ b/web/js/link/wv.link.ui.js@@ -161,9 +161,11 @@ wv.link.ui = wv.link.ui || function(models, config) {};self.initWidget = function() {+ // Check if URL Shortening is enabled in the config file.+ // TODO: Move this to wv-components so it can be accessed there.+ var urlShortening = config.features.urlShortening;return widgetFactory({- configs: config.features.urlShortening,- models: models,+ urlShortening: urlShortening,});};