diff --git a/js/scratchx.js b/js/scratchx.js index 74cdf10..efb4796 100644 --- a/js/scratchx.js +++ b/js/scratchx.js @@ -352,6 +352,13 @@ function showPage(path) { if ($toShow.is(Scratch.FlashApp.$ASobj)) { $toShow.css({top: 0}); } + if (document.location.hash.substr(1) != path) { + if (path != "home") { + document.location.hash = '#' + path; + } else { + document.location.hash = ''; + } + } }