Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix lint errors

Taylor Gunnoe8e104049ec24
diff --git a/web/js/naturalEvents/wv.naturalEvents.map.js b/web/js/naturalEvents/wv.naturalEvents.map.js
index e201e4c6d..2b2471841 100644
--- a/web/js/naturalEvents/wv.naturalEvents.map.js
+++ b/web/js/naturalEvents/wv.naturalEvents.map.js
@@ -52,13 +52,13 @@ wv.naturalEvents.map = wv.naturalEvents.map || function(models, maps, config) {
var fillStyle = function(feature){
return [new ol.style.Style({
fill: new ol.style.Fill({
- color: [255, 255, 255, .1]
+ color: [255, 255, 255, 0.1]
}),
stroke: new ol.style.Stroke({
- color: [212, 85, 0, .8],
+ color: [212, 85, 0, 0.8],
width: 2
})
- })]
+ })];
};
var onSelect = function(){
diff --git a/web/js/naturalEvents/wv.naturalEvents.ui.js b/web/js/naturalEvents/wv.naturalEvents.ui.js
index 4f25e0ba8..8a5af860c 100644
--- a/web/js/naturalEvents/wv.naturalEvents.ui.js
+++ b/web/js/naturalEvents/wv.naturalEvents.ui.js
@@ -369,7 +369,7 @@ wv.naturalEvents.ui = wv.naturalEvents.ui || function(models, ui, config) {
$("#wv-eventscontent .subtitle").hide();
$("#wv-eventscontent .dates").hide();
resize();
- }
+ };
var notify = function( text ) {
var message = text || 'Events may not be visible at all times. Read more...';