summaryrefslogtreecommitdiffhomepage
path: root/derelict.js
diff options
context:
space:
mode:
Diffstat (limited to 'derelict.js')
-rw-r--r--derelict.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/derelict.js b/derelict.js
index 4a166e7..2bb47c7 100644
--- a/derelict.js
+++ b/derelict.js
@@ -57,6 +57,8 @@ class Wreck {
this.domElement.appendChild(iconElement)
this.point.position.copy(position)
this.point.add(object2d)
+
+ this.domElement.onclick = () => window.open(`https://zkillboard.com/kill/${this.killmail.killmail_id}/`)
}
}