From 6fbf34d30043c21e46d54a6b3a35013a38b52315 Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Thu, 25 Apr 2024 10:13:32 +0200 Subject: [PATCH] :memo: Add comment line for initialization gotoRaDec function call --- js/widget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/widget.js b/js/widget.js index 552c3c4a..3e2bf532 100644 --- a/js/widget.js +++ b/js/widget.js @@ -19,6 +19,7 @@ function initAladinLite(model, el) { let aladin = new A.aladin(aladinDiv, initOptions); idxView += 1; + // Set the target again after the initialization to be sure that the target is set from icrs coordinates because of the use of gotoObject in the Aladin Lite API const raDec = initOptions["target"].split(" "); aladin.gotoRaDec(raDec[0], raDec[1]);