diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-19 09:49:56 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-19 09:49:56 +0200 |
| commit | 06033681b31c643a17e983241848296354cbdc80 (patch) | |
| tree | 01dccc3f6885eab31712c1f03005ed3863b8c702 /client | |
| parent | 73f5ebaf892fe64b905b237765d04288caffe637 (diff) | |
css
Diffstat (limited to 'client')
| -rw-r--r-- | client/datasetList/datasetList.container.js | 2 | ||||
| -rw-r--r-- | client/map/index.js | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/client/datasetList/datasetList.container.js b/client/datasetList/datasetList.container.js index f9b2c3b4..37749f11 100644 --- a/client/datasetList/datasetList.container.js +++ b/client/datasetList/datasetList.container.js @@ -17,7 +17,7 @@ const sortOptions = [ { field: 'title', title: 'Name', type: 'string' }, { field: 'year', title: 'Year', type: 'number' }, { field: 'purpose', title: 'Purpose', type: 'string' }, - { field: 'images', title: 'Images', type: 'number', reversed: true }, + // { field: 'images', title: 'Images', type: 'number', reversed: true }, ] class DatasetListContainer extends Component { diff --git a/client/map/index.js b/client/map/index.js index 4492a69a..af1c504e 100644 --- a/client/map/index.js +++ b/client/map/index.js @@ -103,10 +103,11 @@ class Map { this.el.removeChild(mapCover) } }) - mapCover.querySelector('div').addEventListener('touchstart', (e) => { - e.preventDefault() + mapCover.querySelector('div').addEventListener('touchstart', e => { + e.stopPropagation() }) - mapCover.querySelector('div').addEventListener('tap', () => { + mapCover.querySelector('div').addEventListener('tap', e => { + e.stopPropagation() this.map.scrollWheelZoom.enable() if (mapCover.parentNode === this.el) { this.el.removeChild(mapCover) |
