forked from MapComplete/MapComplete
Small workaround for share api which does not share the hash
This commit is contained in:
parent
4700e71d2e
commit
02ce4e5d7e
6 changed files with 13 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue