Fix EventsOff in JS runtime

This commit is contained in:
Lea\Anthony
2021-12-29 09:11:12 +11:00
parent 3c6ed12637
commit f338dff171
4 changed files with 6 additions and 6 deletions

View File

@@ -152,7 +152,7 @@ export function EventsEmit(eventName) {
export function EventsOff(eventName) {
// Remove local listeners
eventListeners.delete(eventName);
delete eventListeners[eventName];
// Notify Go listeners
window.WailsInvoke('EX' + eventName);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long