Revert shorturl experiment
This reverts commit 8215420eee
.
Conflicts:
js/scratchx.js
This commit is contained in:
parent
cfb9aad71d
commit
9e1d73f3ab
3 changed files with 1 additions and 10 deletions
|
@ -317,14 +317,7 @@ function initPage() {
|
|||
/*
|
||||
* On load, show the page identified by the URL fragment. Default to #home.
|
||||
*/
|
||||
if (window.location.hash) {
|
||||
if (window.location.hash.charAt(1) == "#") {
|
||||
sendURLtoFlash(LZString.decompress(window.location.hash.substr(2)));
|
||||
initialID = editorId;
|
||||
} else {
|
||||
initialID = window.location.hash.substr(1);
|
||||
}
|
||||
}
|
||||
if (window.location.hash) initialID = window.location.hash.substr(1);
|
||||
showPage(initialID);
|
||||
loadFromURLParameter(window.location.search);
|
||||
}
|
||||
|
|
Reference in a new issue