Skip to content

Commit

Permalink
Merge pull request #68 from cds-astro/0.2.4
Browse files Browse the repository at this point in the history
fix add_listener
  • Loading branch information
ManonMarchand authored Jun 22, 2023
2 parents 3ae2508 + db013ab commit 6f0e92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/lib/jupyter-aladin.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class AladinView extends DOMWidgetView {

this.listenTo(this.model, 'change:listener_flag', () => {
let type= this.model.get('listener_type');
this.al.on(type, function(object) {
this.al.on(type, (object) => {
if (type==='select') {
let sources = object;
// first, deselect previously selected sources
Expand Down

0 comments on commit 6f0e92a

Please sign in to comment.