Commit c61eae97 authored by Christopher Fullarton's avatar Christopher Fullarton

Closes the highslide zoom when navigating away

parent ede7ecd4
......@@ -126,5 +126,6 @@ export class LivePreviewComponent implements OnInit, OnDestroy {
public ngOnDestroy(): void {
this._destroy.next();
this._destroy.complete();
window['hs'].close();
}
}
......@@ -148,6 +148,7 @@ export class QuestionDetailsComponent implements OnInit, OnDestroy, IHasTriggere
this._messageSubscriptions.forEach(id => this.messageQueue.unsubscribe(id));
this._destroy.next();
this._destroy.complete();
window['hs'].close();
}
public getCurrentQuestionAsRanged(): RangedQuestionEntity {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment