Small workaround for share api which does not share the hash

This commit is contained in:
Pieter Vander Vennet 2020-11-23 03:13:52 +01:00
parent 4700e71d2e
commit 02ce4e5d7e
6 changed files with 13 additions and 3 deletions

View file

@ -12,6 +12,9 @@ export default class ShareButton extends UIElement{
super();
this._embedded = embedded;
this._shareData = shareData;
if(this._shareData.url.indexOf("#")> 0){
this._shareData.url = this._shareData.url.replace("#","&hash_content=");
}
}
InnerRender(): string {