Unset the notification ID when we remove it
This commit is contained in:
parent
e6e02301ab
commit
8c12c60815
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ export function toggleMouseBroadcast() {
|
||||||
} else {
|
} else {
|
||||||
if (notifID != null) {
|
if (notifID != null) {
|
||||||
ui.notifications.remove(notifID);
|
ui.notifications.remove(notifID);
|
||||||
|
notifID = null;
|
||||||
};
|
};
|
||||||
ui.notifications.success(
|
ui.notifications.success(
|
||||||
`OFT.notifs.${key}.showingCursor`,
|
`OFT.notifs.${key}.showingCursor`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue