aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-30 16:54:00 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-30 16:54:00 +0000
commit715d88a4e94c4890f324cbace435c0627af67cc1 (patch)
treeb4f1e781c7d6212e8e7a0ec2019d8e13cd067420 /experimental
parent86398e5d9149eaad2fd2c8dba5557aca645d2385 (diff)
Fix bug with starting at the home page.
BUG=skia: R=mtklein@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/260773002 git-svn-id: http://skia.googlecode.com/svn/trunk@14480 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental')
-rw-r--r--experimental/webtry/js/webtry.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/webtry/js/webtry.js b/experimental/webtry/js/webtry.js
index 4493f61f6d..aafadf3b67 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;