mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-24 06:15:48 +02:00
Fix updater calling onUpdateCheckFinished when eventID parameter is undefined
This commit is contained in:
parent
648d1b9aa9
commit
385fead81a
@ -146,7 +146,7 @@
|
||||
createUpdateNotificationElement(tagName, obj.browser_download_url);
|
||||
}
|
||||
|
||||
if (eventID !== 0){
|
||||
if (eventID){ // ignore undefined and 0
|
||||
$TDU.onUpdateCheckFinished(eventID, hasUpdate, tagName);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user