Update setup.web.js
This commit is contained in:
parent
11382cfda6
commit
e67db2381e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue