mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-04-28 11:53:18 -07:00
fix #351
This commit is contained in:
12062
src/core/src/shaders.rs
12062
src/core/src/shaders.rs
File diff suppressed because it is too large
Load Diff
@@ -107,7 +107,7 @@ A.aladin = function (divSelector, options) {
|
||||
}
|
||||
|
||||
let theme;
|
||||
if (options.mode) {
|
||||
if (options && options.mode) {
|
||||
let mode = options.mode.toLowerCase();
|
||||
|
||||
if (mode === 'dark' || mode === 'light') {
|
||||
|
||||
@@ -475,8 +475,6 @@ export let Aladin = (function () {
|
||||
hipsObj["name"] = name;
|
||||
}
|
||||
|
||||
console.log(hipsObj)
|
||||
|
||||
// Merge what is already in the cache for that HiPS with new properties
|
||||
// coming from the MOCServer
|
||||
this.hipsFavorites.push(hipsObj);
|
||||
|
||||
Reference in New Issue
Block a user