Merge pull request #947 from c9developer/master

Little link change
This commit is contained in:
Matt 2012-09-16 23:08:50 -07:00
commit 19ea899437

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