From 926cc5d1751314a18c0e3056243c0a12e804d81c Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 5 Apr 2021 23:23:21 +0200 Subject: Added stub of labels --- derelict.js | 1 + 1 file changed, 1 insertion(+) (limited to 'derelict.js') 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) -- cgit v1.1