Skip to content

Commit e81bd73

Browse files
EdouardTackmbarto
authored andcommitted
Fix browse typo (#3800)
1 parent 8b46862 commit e81bd73

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

web/client/components/TOC/Toolbar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class Toolbar extends React.Component {
200200
key="featuresGrid"
201201
placement="top"
202202
overlay={<Tooltip id="toc-tooltip-featuresGrid">{this.props.text.featuresGridTooltip}</Tooltip>}>
203-
<Button bsStyle="primary" className="square-button-md" onClick={this.brosweData}>
203+
<Button bsStyle="primary" className="square-button-md" onClick={this.browseData}>
204204
<Glyphicon glyph="features-grid" />
205205
</Button>
206206
</OverlayTrigger>
@@ -270,7 +270,7 @@ class Toolbar extends React.Component {
270270
</ButtonGroup>) : null;
271271
}
272272

273-
brosweData = () => {
273+
browseData = () => {
274274
this.props.onToolsActions.onBrowseData({
275275
url: this.props.selectedLayers[0].search.url || this.props.selectedLayers[0].url,
276276
name: this.props.selectedLayers[0].name,

web/client/components/map/cesium/Map.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class CesiumMap extends React.Component {
6363
componentWillMount() {
6464
/*
6565
this prevent the Safari browser to zoom and mess up with the view.
66-
added only for Safari's broswers (mobile and not) bescause from safari 10 it
66+
added only for Safari's browsers (mobile and not) bescause from safari 10 it
6767
won't allow you to disable pinch to zoom with the user-scalable attribute.
6868
see https://stackoverflow.com/questions/4389932/how-do-you-disable-viewport-zooming-on-mobile-safari/39711930#39711930
6969
*/

0 commit comments

Comments
 (0)