rename gotoAnything to router
This commit is contained in:
parent
a2669373a0
commit
265cb2e5eb
7 changed files with 39 additions and 39 deletions
|
|
@ -1,5 +1,5 @@
|
|||
define(function () {
|
||||
return function(config, field, gotoAnything, title) {
|
||||
return function(config, field, router, title) {
|
||||
var self = this
|
||||
var el
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ define(function () {
|
|||
a.classList.add(d.flags.online ? "online" : "offline")
|
||||
a.textContent = d.nodeinfo.hostname
|
||||
a.href = "#"
|
||||
a.onclick = gotoAnything.node(d)
|
||||
a.onclick = router.node(d)
|
||||
td1.appendChild(a)
|
||||
|
||||
if (has_location(d)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue