diff --git a/Resources/Scripts/update.js b/Resources/Scripts/update.js index 98004246..5c76cd79 100644 --- a/Resources/Scripts/update.js +++ b/Resources/Scripts/update.js @@ -146,7 +146,7 @@ createUpdateNotificationElement(tagName, obj.browser_download_url); } - if (eventID !== 0){ + if (eventID){ // ignore undefined and 0 $TDU.onUpdateCheckFinished(eventID, hasUpdate, tagName); } });