Skip to content

Commit

Permalink
fix display of download bundles
Browse files Browse the repository at this point in the history
Firefox did not allow to click the link as it was nested inside a <button>
  • Loading branch information
aAXEe committed Apr 8, 2018
1 parent f0a07d4 commit 043cbf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions intl/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"download-file-date": "Date: {rawDate, date, short} ({formatedRelative})",
"download-file-format": "Format: {format}",
"download-file-application": "Application: {app}",
"download-file-filesize": "Size: {size}",
"download-file-download": "Download file",
"download-choose-type": "Download type:",
"layerlist-baselayer": "Base map",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import React, { PropTypes } from 'react'
import { connect } from 'react-redux'
import { ListGroup } from 'react-bootstrap'
import { PanelGroup } from 'react-bootstrap'

import { DownloadDisplay } from './downloadDisplay'

Expand All @@ -23,7 +23,7 @@ const ResultList = ({
features
}) => (
<div>
<ListGroup>
<PanelGroup>
{features.map(feature => (
<DownloadDisplay
key={feature._id}
Expand All @@ -36,7 +36,7 @@ const ResultList = ({
feature={feature} />
))
}
</ListGroup>
</PanelGroup>
</div>
)

Expand Down

0 comments on commit 043cbf3

Please sign in to comment.