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);