rename gotoAnything to router

This commit is contained in:
Nils Schneider 2015-03-25 19:45:21 +01:00
commit 265cb2e5eb
7 changed files with 39 additions and 39 deletions

View file

@ -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)) {