Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: experimental/webtry/js/webtry.js

Issue 260773002: Fix bug with starting at the home page. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/js/webtry.js
diff --git a/experimental/webtry/js/webtry.js b/experimental/webtry/js/webtry.js
index 4493f61f6d69f713fb035f61eb0b9c5f705f8a17..aafadf3b67bb4165ebb948558db2acdb953e99d1 100644
--- a/experimental/webtry/js/webtry.js
+++ b/experimental/webtry/js/webtry.js
@@ -233,7 +233,7 @@
if (tryHistory) {
addToHistory(body.hash, 'data:image/png;base64,' + body.img);
} else {
- window.history.pushState(null, null, './' + body.hash);
+ window.history.pushState(null, null, '/c/' + body.hash);
}
if (permalink) {
permalink.href = '/c/' + body.hash;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698