From 20d4d2f3e94c186a64ac63354ed221c60db43ec1 Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Wed, 24 Apr 2024 14:39:40 +0200 Subject: [PATCH] :fire: Remove Aladin#off because this function does not exist in the Aladin API --- js/models/event_handler.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/models/event_handler.js b/js/models/event_handler.js index 3656ed17..32ae7d2d 100644 --- a/js/models/event_handler.js +++ b/js/models/event_handler.js @@ -192,12 +192,5 @@ export default class EventHandler { this.model.off("change:overlay_survey_opacity"); this.model.off("change:trigger_event"); this.model.off("msg:custom"); - - this.aladin.off("positionChanged"); - this.aladin.off("zoomChanged"); - this.aladin.off("objectHovered"); - this.aladin.off("objectClicked"); - this.aladin.off("click"); - this.aladin.off("select"); } }