mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-06-12 11:01:37 -07:00
Directly push 'this' to LayerSelector.objects
Instead of creating a variable beforehand. It seems like 'self' was not used anywhere else. Remove variable 'self' as it was not used
This commit is contained in:
committed by
Matthieu Baumann
parent
aba352fdfd
commit
8f684995a2
@@ -133,7 +133,5 @@ import { Utils } from "../../Utils";
|
||||
},
|
||||
tooltip: {content: 'You can share/export your view into many ways', position: {direction: 'top'}},
|
||||
}, aladin);
|
||||
|
||||
self = this;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,9 +80,7 @@ export class LayerSelector extends Input {
|
||||
...options
|
||||
})
|
||||
|
||||
self = this;
|
||||
|
||||
LayerSelector.objects.push(self);
|
||||
LayerSelector.objects.push(this);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user