Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add classnames to A|B buttons

Benjamin King43c944772f4b
diff --git a/web/js/components/sidebar/mode-selection.js b/web/js/components/sidebar/mode-selection.js
index b51074fca..deabc9a6a 100644
--- a/web/js/components/sidebar/mode-selection.js
+++ b/web/js/components/sidebar/mode-selection.js
@@ -26,7 +26,7 @@ class ModeSelection extends React.Component {
<ButtonGroup size="sm">
<Button
id="compare-swipe-button"
- className="compare-button"
+ className="compare-button compare-swipe-button"
disabled={selected === 'swipe'}
onClick={this.onclick.bind(this, 'swipe')}
>
@@ -34,7 +34,7 @@ class ModeSelection extends React.Component {
</Button>
<Button
id="compare-opacity-button"
- className="compare-button"
+ className="compare-button compare-opacity-button"
disabled={selected === 'opacity'}
onClick={this.onclick.bind(this, 'opacity')}
>
@@ -42,7 +42,7 @@ class ModeSelection extends React.Component {
</Button>
<Button
id="compare-spy-button"
- className="compare-button"
+ className="compare-button compare-spy-button"
disabled={selected === 'spy'}
onClick={this.onclick.bind(this, 'spy')}
>