diff --git a/src/MMapHint/index.ts b/src/MMapHint/index.ts index 7fd6dca..ab67f60 100644 --- a/src/MMapHint/index.ts +++ b/src/MMapHint/index.ts @@ -59,7 +59,6 @@ class MMapHint extends mappable.MMapGroupEntity { ); }; - private _destroyDomContext!: Function; private _detachDom!: DomDetach; private _element!: HTMLElement | null; private _hintElement!: HTMLElement; @@ -121,7 +120,6 @@ class MMapHint extends mappable.MMapGroupEntity { } protected _onDetach(): void { - this._destroyDomContext(); this._detachDom(); this._element = null; }