Update setup.web.js

This commit is contained in:
Saúl Ibarra Corretgé 2021-08-24 16:06:32 +02:00
parent 11382cfda6
commit e67db2381e
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ declare var config: Object;
* @returns {boolean} Returns {@code true} if loaded in iframe. * @returns {boolean} Returns {@code true} if loaded in iframe.
* @private * @private
*/ */
function _inIframe() { function _inIframe() {
try { try {
return window.self !== window.top; return window.self !== window.top;
} catch (e) { } catch (e) {