Little link change for the site

This commit is contained in:
C9 2012-09-17 02:08:01 -04:00
commit 4abcb89f19

View file

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