Small bug fixes

This commit is contained in:
Pieter Vander Vennet 2020-11-24 11:10:43 +01:00
parent 4d2e8b6f24
commit 488fd16873
9 changed files with 51 additions and 14 deletions

View file

@ -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!');