Fixes issue with externalConnectUrl hash param when the value is null

This commit is contained in:
hristoterezov
2016-04-29 11:46:24 -05:00
parent bd7740cba1
commit d535765648
2 changed files with 6 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ function processMessage(event) {
*/
function isEnabled () {
let hash = location.hash;
return hash && hash.indexOf("external") > -1 && window.postMessage;
return hash && hash.indexOf("external=true") > -1 && window.postMessage;
}
/**