Little link change for the site
This commit is contained in:
parent
94b75bd994
commit
4abcb89f19
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue