forked from MapComplete/MapComplete
Small bug fixes
This commit is contained in:
parent
4d2e8b6f24
commit
488fd16873
9 changed files with 51 additions and 14 deletions
|
@ -22,7 +22,6 @@ export default class ShareButton extends UIElement{
|
|||
super.InnerUpdate(htmlElement);
|
||||
const self= this;
|
||||
htmlElement.addEventListener('click', () => {
|
||||
alert("URL:" + self._shareData.url)
|
||||
if (navigator.share) {
|
||||
navigator.share(self._shareData).then(() => {
|
||||
console.log('Thanks for sharing!');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue