Interactive interface for browsing global, full-resolution satellite imagery
Change alert text
ZachTRiceb97b9226b580
diff --git a/web/js/alert/ui.js b/web/js/alert/ui.jsindex 65c89db30..a0b8e4323 100644--- a/web/js/alert/ui.js+++ b/web/js/alert/ui.js@@ -28,7 +28,7 @@ export function alertUi(ui) {self.reactComponent.setState({visible: true,- message: 'To view these tours again. Click the \'Start Tour\' link in the "i" button menu above.'+ message: 'To view these tours again, click the \'Start Tour\' link within the "i" button menu.'});setTimeout(() => {diff --git a/web/js/components/tour/modal-tour-start.js b/web/js/components/tour/modal-tour-start.jsindex 524d386ab..dcebcb341 100644--- a/web/js/components/tour/modal-tour-start.js+++ b/web/js/components/tour/modal-tour-start.js@@ -51,8 +51,7 @@ class ModalStart extends React.Component {// Handle the show/hide checkbox statehandleCheck() {this.setState({- checked: !this.state.checked,- defaultChecked: !this.state.defaultChecked+ checked: !this.state.checked});if (!this.state.checked) {this.props.hideTour();diff --git a/web/js/tour/ui.js b/web/js/tour/ui.jsindex 9b9c7e6af..182e28fd9 100644--- a/web/js/tour/ui.js+++ b/web/js/tour/ui.js@@ -92,7 +92,10 @@ export function tourUi(models, ui, config) {'buildDate': buildDate,'tourDate': tourDate});+ console.log('buildDate', buildDate);+ console.log('tourDate', tourDate);if (buildDate > tourDate) {+ console.log('build newer than tour');localStorage.removeItem('hideTour');return true;} else {@@ -152,6 +155,7 @@ export function tourUi(models, ui, config) {};self.hideTour = function(e) {+ console.log('tour hidden');if (!util.browser.localStorage) return;var hideTour = localStorage.getItem('hideTour');@@ -175,7 +179,7 @@ export function tourUi(models, ui, config) {});if (!hideTour) return;-+ console.log('show tour ran');localStorage.removeItem('hideTour');};