Skip to content

Commit

Permalink
fix(TetsRun): comparision events
Browse files Browse the repository at this point in the history
  • Loading branch information
harunbleech committed Sep 26, 2024
1 parent a21fc65 commit 3a57620
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions components/comparisons/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Tabs from '../../assets/scripts/tabs';

class VrtsComparisons extends window.HTMLElement {
constructor() {
super();
Expand Down Expand Up @@ -65,13 +63,13 @@ class VrtsComparisons extends window.HTMLElement {
);
}

connectedCallback() {
this.tabs = Tabs( this );
}
connectedCallback() {}

disconnectedCallback() {
this.tabs?.();
this.$fullscreen?.removeEventListener( 'click', this.onFullscreenOpen );
this.$fullscreen?.removeEventListener(
'click',
this.onFullscreenToggle
);
this.$control?.removeEventListener( 'input', this.onControlChange );
document.removeEventListener(
'fullscreenchange',
Expand Down

0 comments on commit 3a57620

Please sign in to comment.