change href on button
git-svn-id: https://svn.apache.org/repos/asf/incubator/taverna/site/trunk@1850868 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/content/download/code/index.md b/content/download/code/index.md
index ab8d290..989168e 100644
--- a/content/download/code/index.md
+++ b/content/download/code/index.md
@@ -358,7 +358,7 @@
x[i].value = "https://gitbox.apache.org/repos/asf/" +x[i].id + ".git";
}
for (i = 0; i < y.length; i++) {
- y[i].value = "https://gitbox.apache.org/repos/asf/?p=" +x[i].id + ";a=tree";
+ y[i].href = "https://gitbox.apache.org/repos/asf/?p=" +x[i].id + ";a=tree";
}
}
if ( document.getElementById("picker").value == "GitHub"){
@@ -366,7 +366,7 @@
x[i].value = "https://github.com/apache/" +x[i].id + ".git";
}
for (i = 0; i < y.length; i++) {
- y[i].value = "https://github.com/apache/" +x[i].id;
+ y[i].href = "https://github.com/apache/" +x[i].id;
}
}
}