Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Palette dialog now constrained to viewport

Mike McGann1cc0c361ec79
diff --git a/js/Worldview/Widget/Palette.js b/js/Worldview/Widget/Palette.js
index 0f3498b28..528fa743b 100644
--- a/js/Worldview/Widget/Palette.js
+++ b/js/Worldview/Widget/Palette.js
@@ -119,8 +119,9 @@ Worldview.Widget.Palette = function(containerId, config, spec) {
width: "245px",
height: "265px",
visible: false,
- autofillheight: "body"
- }
+ autofillheight: "body",
+ constraintoviewport: true
+ };
if ( self.alignTo ) {
var $element = $(self.alignTo);
properties.x = Math.ceil($element.offset().left +