Interactive interface for browsing global, full-resolution satellite imagery
Now adding year to event label if it's not the same as the current year
Ryan Boller1bf29f7e646d
diff --git a/web/js/naturalEvents/wv.naturalEvents.ui.js b/web/js/naturalEvents/wv.naturalEvents.ui.jsindex 35c23a12f..8355dee77 100644--- a/web/js/naturalEvents/wv.naturalEvents.ui.js+++ b/web/js/naturalEvents/wv.naturalEvents.ui.js@@ -192,6 +192,11 @@ wv.naturalEvents.ui = wv.naturalEvents.ui || function(models, ui, config) {wv.util.giveMonth(eventDate) + " " +eventDate.getUTCDate();+ if (eventDate.getUTCFullYear() !== wv.util.today().getUTCFullYear()) {+ dateString += ", " + eventDate.getUTCFullYear();+ }++var $item = $("<li></li>").addClass("selectorItem").addClass("item")