diff --git a/src/components/AppToolbar.jsx b/src/components/AppToolbar.jsx
index 052e1ee..7480210 100644
--- a/src/components/AppToolbar.jsx
+++ b/src/components/AppToolbar.jsx
@@ -184,7 +184,7 @@ export default class AppToolbar extends React.Component {
return view.id === this.props.mapState;
});
- return
+
}
}
diff --git a/src/components/InputCheckbox.jsx b/src/components/InputCheckbox.jsx
index e01d99c..7cf8323 100644
--- a/src/components/InputCheckbox.jsx
+++ b/src/components/InputCheckbox.jsx
@@ -13,7 +13,7 @@ export default class InputCheckbox extends React.Component {
}
render() {
- return
+
}
}
diff --git a/src/components/InputNumber.jsx b/src/components/InputNumber.jsx
index d660daf..f256288 100644
--- a/src/components/InputNumber.jsx
+++ b/src/components/InputNumber.jsx
@@ -172,7 +172,6 @@ export default class InputNumber extends React.Component {
step="any"
spellCheck="false"
value={value === undefined ? defaultValue : value}
- aria-hidden="true"
onChange={this.onChangeRange}
onKeyDown={() => {
this._keyboardEvent = true;
diff --git a/src/components/LayerEditor.jsx b/src/components/LayerEditor.jsx
index 1479ffc..f4dbb8e 100644
--- a/src/components/LayerEditor.jsx
+++ b/src/components/LayerEditor.jsx
@@ -290,7 +290,7 @@ export default class LayerEditor extends React.Component {
items[id].handler();
}
- return
@@ -332,6 +332,6 @@ export default class LayerEditor extends React.Component {
>
{groups}
-
+
}
}
diff --git a/src/components/LayerList.jsx b/src/components/LayerList.jsx
index 5d94c60..cadb166 100644
--- a/src/components/LayerList.jsx
+++ b/src/components/LayerList.jsx
@@ -248,6 +248,7 @@ class LayerListContainer extends React.Component {
})}
index={idx}
key={layer.key}
+ id={layer.key}
layerId={layer.id}
layerIndex={idx}
layerType={layer.type}
@@ -264,7 +265,7 @@ class LayerListContainer extends React.Component {
})
})
- return
-
+
}
}
diff --git a/src/components/LayerListItem.jsx b/src/components/LayerListItem.jsx
index f135288..6e8f18c 100644
--- a/src/components/LayerListItem.jsx
+++ b/src/components/LayerListItem.jsx
@@ -100,6 +100,7 @@ class LayerListItem extends React.Component {
const visibilityAction = this.props.visibility === 'visible' ? 'show' : 'hide';
return this.props.onLayerSelect(this.props.layerIndex)}
data-wd-key={"layer-list-item:"+this.props.layerId}
diff --git a/src/components/ModalDebug.jsx b/src/components/ModalDebug.jsx
index 6b92729..a7e040c 100644
--- a/src/components/ModalDebug.jsx
+++ b/src/components/ModalDebug.jsx
@@ -29,8 +29,8 @@ export default class ModalDebug extends React.Component {
onOpenToggle={this.props.onOpenToggle}
title={'Debug'}
>
-
-
Options
+
+ Options
{this.props.renderer === 'mbgljs' &&
{Object.entries(this.props.mapboxGlDebugOptions).map(([key, val]) => {
@@ -53,9 +53,9 @@ export default class ModalDebug extends React.Component {
})}
}
-
-
+
}
}
diff --git a/src/components/ModalExport.jsx b/src/components/ModalExport.jsx
index 19e0c85..5af01cc 100644
--- a/src/components/ModalExport.jsx
+++ b/src/components/ModalExport.jsx
@@ -67,8 +67,8 @@ export default class ModalExport extends React.Component {
className="maputnik-export-modal"
>
-
-
Download Style
+
+ Download Style
Download a JSON style to your computer.
@@ -101,7 +101,7 @@ export default class ModalExport extends React.Component {
Download
-
+
}
diff --git a/src/components/ModalOpen.jsx b/src/components/ModalOpen.jsx
index 42bde38..8ef91be 100644
--- a/src/components/ModalOpen.jsx
+++ b/src/components/ModalOpen.jsx
@@ -27,11 +27,11 @@ class PublicStyle extends React.Component {
aria-label={this.props.title}
onClick={() => this.props.onSelect(this.props.url)}
>
-