mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
Link to external docs
This commit is contained in:
parent
f9e21359f7
commit
2956640a5c
1 changed files with 11 additions and 3 deletions
|
|
@ -241,10 +241,14 @@ function setNav(e) {
|
|||
interface_el.classList.add("interface-active")
|
||||
|
||||
// hack hack
|
||||
if(name == "cluster") {
|
||||
update_cluster_status()
|
||||
switch(name) {
|
||||
case "cluster":
|
||||
update_cluster_status()
|
||||
break
|
||||
case "documentation":
|
||||
open_external_docs()
|
||||
break
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -261,6 +265,10 @@ function update_cluster_status() {
|
|||
xhr.send(null)
|
||||
}
|
||||
|
||||
function open_external_docs() {
|
||||
window.open("https://www.pilosa.com/docs");
|
||||
}
|
||||
|
||||
Date.prototype.today = function () {
|
||||
return this.getFullYear() +"/"+ (((this.getMonth()+1) < 10)?"0":"") + (this.getMonth()+1) +"/"+ ((this.getDate() < 10)?"0":"") + this.getDate();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue