diff --git a/src/conf/config.js b/src/conf/config.js index fa29fe43..a12d6847 100644 --- a/src/conf/config.js +++ b/src/conf/config.js @@ -4,7 +4,9 @@ import { CONSTANTS } from './constants'; export let CONFIG : Object = { - ALLOW_POSTMESSAGE_POPUP: __ALLOW_POSTMESSAGE_POPUP__, + ALLOW_POSTMESSAGE_POPUP: ('__ALLOW_POSTMESSAGE_POPUP__' in window) + ? window.__ALLOW_POSTMESSAGE_POPUP__ + : __ALLOW_POSTMESSAGE_POPUP__, LOG_LEVEL: 'info',