mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-25 15:38:56 +00:00
morning of fail - history now with correct url
This commit is contained in:
parent
2f9798520f
commit
b98ca4e132
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user