mirror of
https://github.com/ShinkoNet/Wplace-Overlay-Pro.git
synced 2026-05-07 12:40:43 +00:00
Update events.ts
This commit is contained in:
parent
00c8bd5aa2
commit
689a611163
1 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,6 @@ export const EV_AUTOCAP_CHANGED = 'op-autocap-changed';
|
|||
export function emit(name: string, detail?: any) {
|
||||
try {
|
||||
document.dispatchEvent(new CustomEvent(name, { detail }));
|
||||
} catch (e) {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue