Index: lib/api.js |
diff --git a/lib/api.js b/lib/api.js |
index d558c5ff74ab2b35bad812b4b8bd0060257529e9..80f14469f1aa7d270747d874806fdc38d859d8e7 100644 |
--- a/lib/api.js |
+++ b/lib/api.js |
@@ -207,7 +207,7 @@ var API = (function() |
forceUpdateCheck: function(eventName) |
{ |
- checkForUpdates(_triggerEvent.bind(null, eventName)); |
+ checkForUpdates(eventName ? _triggerEvent.bind(null, eventName) : null); |
}, |
getHostFromUrl: function(url) |