Fix share button

This commit is contained in:
Pieter Vander Vennet 2020-11-23 12:54:10 +01:00
parent 02ce4e5d7e
commit 4d2e8b6f24
4 changed files with 14 additions and 17 deletions

View file

@ -85,11 +85,6 @@ export class InitUiElements {
throw "Incorrect layout"
}
const hashContent = QueryParameters.GetQueryParameter("hash_content", "", "A workaround for the share-api which doesn't share the hash...");
if((hashContent.data ?? "") !== ""){
window.location.hash = hashContent.data;
}
console.log("Using layout: ", layoutToUse.id, "LayoutFromBase64 is ", layoutFromBase64);
State.state = new State(layoutToUse);