From 70a5f49d9ddb1544d9d5f992e366e01618bdb932 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Fri, 15 May 2015 10:10:18 -0400 Subject: [PATCH] Open the editor when loading from URL params --- js/scratchx.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/scratchx.js b/js/scratchx.js index 5777a8e..baacc05 100644 --- a/js/scratchx.js +++ b/js/scratchx.js @@ -158,10 +158,12 @@ function sendURLtoFlash() { if (urls.length <= 0) return; if (Scratch.FlashApp.ASobj.ASloadGithubURL !== undefined) { $(document).trigger("editor:extensionLoaded", {method: "url", urls: urls}); + showPage(editorId); Scratch.FlashApp.ASobj.ASloadGithubURL(urls); } else { $(document).on("editor:ready", function(e) { $(document).trigger("editor:extensionLoaded", {method: "url", urls: urls}); + showPage(editorId); Scratch.FlashApp.ASobj.ASloadGithubURL(urls); $(this).off(e); });