1
0
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:
chylex 2016-11-23 02:05:44 +01:00
parent 648d1b9aa9
commit 385fead81a

View File

@ -146,7 +146,7 @@
createUpdateNotificationElement(tagName, obj.browser_download_url);
}
if (eventID !== 0){
if (eventID){ // ignore undefined and 0
$TDU.onUpdateCheckFinished(eventID, hasUpdate, tagName);
}
});