Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Classlist not present in svg elements in ie11 #1084

Benjamin King7f2b1f06276a
diff --git a/web/js/date/compare-picks.js b/web/js/date/compare-picks.js
index 48d6fbdc2..8cf7bc158 100644
--- a/web/js/date/compare-picks.js
+++ b/web/js/date/compare-picks.js
@@ -79,7 +79,7 @@ export function timelineCompare(models, config, ui) {
}
};
var toggleCheck = function(e) {
- if (this.classList.contains('ab-group-case-active')) return;
+ if ($(this).hasClass('ab-group-case-active')) return;
models.compare.toggleState();
};
var getInitialProps = function(compareLetter, label) {