summaryrefslogtreecommitdiffhomepage
path: root/derelict.js
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-04-05 23:23:21 +0200
committerAki <please@ignore.pl>2021-04-05 23:23:21 +0200
commit926cc5d1751314a18c0e3056243c0a12e804d81c (patch)
tree779bee16fc7fb060b9585aeb158a5ef84e984ae0 /derelict.js
parent94e69f0b64b08d0a18cce0572efe1821393b884d (diff)
downloadderelict-prototype-926cc5d1751314a18c0e3056243c0a12e804d81c.zip
derelict-prototype-926cc5d1751314a18c0e3056243c0a12e804d81c.tar.gz
derelict-prototype-926cc5d1751314a18c0e3056243c0a12e804d81c.tar.bz2
Added stub of labels
Diffstat (limited to 'derelict.js')
-rw-r--r--derelict.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/derelict.js b/derelict.js
index 2bb47c7..2471104 100644
--- a/derelict.js
+++ b/derelict.js
@@ -54,6 +54,7 @@ class Wreck {
this.killmail = killmail
this.domElement.className = 'wreck'
+ this.domElement.dataset.label = `${this.killmail.killmail_id}`
this.domElement.appendChild(iconElement)
this.point.position.copy(position)
this.point.add(object2d)