mirror of
https://github.com/wassname/template.git
synced 2026-08-01 13:00:27 +08:00
Fix crash in d-figure
This commit is contained in:
@@ -99,7 +99,7 @@ export class Figure extends HTMLElement {
|
||||
|
||||
ready() {
|
||||
this._ready = true;
|
||||
this.marginObserver.unobserve(this);
|
||||
Figure.marginObserver.unobserve(this);
|
||||
const event = new CustomEvent('ready');
|
||||
this.dispatchEvent(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user