Interactive interface for browsing global, full-resolution satellite imagery
Added URL nonce to show-hide.png
Mike McGann1e8e228ad835
diff --git a/web/css/wv.sidebar.css b/web/css/wv.sidebar.cssindex 4b9af863e..5385abfcd 100644--- a/web/css/wv.sidebar.css+++ b/web/css/wv.sidebar.css@@ -79,7 +79,7 @@.productsitem a.hdanchor.hideReg i{width:21px;height:12px;- background:url('../images/wv.layers/show-hide.png') no-repeat 0 0 transparent;+ background:url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 0 transparent;position:absolute;top:50%;margin-top:-6px;@@ -106,7 +106,7 @@background:#fff;}i.wv-layers-options-icon{- background: url('../images/wv.layers/show-hide.png') no-repeat 0 -24px;+ background: url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 -24px;width: 12px;height: 12px;position:absolute;@@ -144,7 +144,7 @@ i.wv-layers-options-icon{}.productsitem a.button.close i {- background:url('../images/wv.layers/show-hide.png') no-repeat 0 -24px;+ background:url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 -24px;width:12px;height:12px;pointer-events:none;@@ -175,7 +175,7 @@ i.wv-layers-options-icon{.productsitem.layer-hidden a.hdanchor:hover{background:rgba(255,255,255,1);}-/*+/*.productsitem.layer-visible .layer-main:hover{background-color:#fff;}diff --git a/web/images/.htaccess b/web/images/.htaccessdeleted file mode 100644index b22be05b0..000000000--- a/web/images/.htaccess+++ /dev/null@@ -1,9 +0,0 @@-ExpiresActive On-ExpiresDefault A31104000-Header set Cache-Control "max-age=31104000, public"------diff --git a/web/js/layers/wv.layers.active.js b/web/js/layers/wv.layers.active.jsindex 3b34d1cef..ee3877109 100644--- a/web/js/layers/wv.layers.active.js+++ b/web/js/layers/wv.layers.active.js@@ -197,7 +197,7 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {.attr("data-layer", layer.id).append($('<h4></h4>').html(names.title)).append($('<p></p>').html(names.subtitle));-+$layer.hover(function(){d3.select('#timeline-footer svg g.plot rect[data-layer="'+ layer.id +'"]')