From b98ca4e132236497e033f12e7b07e7050daa871d Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Thu, 17 Oct 2013 09:48:15 +0100 Subject: [PATCH] morning of fail - history now with correct url --- public/js/chrome/save.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/chrome/save.js b/public/js/chrome/save.js index 1689f208..0e25bf75 100644 --- a/public/js/chrome/save.js +++ b/public/js/chrome/save.js @@ -277,7 +277,7 @@ function saveCode(method, ajax, ajaxCallback) { if (window.history && window.history.pushState) { // updateURL(edit); - window.history.pushState(null, '', jsbin.getURL()); + window.history.pushState(null, '', jsbin.getURL() + '/edit'); sessionStorage.setItem('url', jsbin.getURL()); } else { window.location.hash = data.edit;