diff --git a/scripts/system/marketplaces/marketplaces.js b/scripts/system/marketplaces/marketplaces.js index cea22d50e0..d5530e7db2 100644 --- a/scripts/system/marketplaces/marketplaces.js +++ b/scripts/system/marketplaces/marketplaces.js @@ -89,7 +89,7 @@ function onWebEventReceived(message) { } if (message.slice(0, CLARA_IO_DOWNLOAD.length) === CLARA_IO_DOWNLOAD) { - if (messageBox) { + if (messageBox !== null) { Window.closeMessageBox(messageBox); messageBox = null; }