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:
Max Kistner
2026-06-09 08:19:05 +02:00
committed by Matthieu Baumann
parent aba352fdfd
commit 8f684995a2
2 changed files with 1 additions and 5 deletions
-2
View File
@@ -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;
}
}
+1 -3
View File
@@ -80,9 +80,7 @@ export class LayerSelector extends Input {
...options
})
self = this;
LayerSelector.objects.push(self);
LayerSelector.objects.push(this);
}
};