From 4abcb89f19bf32346554eff42fe25eef52712faa Mon Sep 17 00:00:00 2001 From: C9 Date: Mon, 17 Sep 2012 02:08:01 -0400 Subject: [PATCH] Little link change for the site --- doc/site/js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/site/js/main.js b/doc/site/js/main.js index d2da9c35..0175a7b5 100644 --- a/doc/site/js/main.js +++ b/doc/site/js/main.js @@ -56,8 +56,10 @@ $(function() { e.preventDefault(); embedded_editor.resize(); editor.resize(); - if ($(this).attr("href") === "/") + if ($(this).attr("href") === "/") { + window.location = "http://ace.ajax.org"; return; + } if ($(this).attr("href").indexOf("#api") === 0) { $("#top_container").addClass("collapse"); scrollIntoPosition(null, 0);