fix unnecessary property

This commit is contained in:
Vyrtsev Mikhail
2018-11-14 09:52:51 +03:00
parent 5ac3255d17
commit ae9332c0e5
+1 -1
View File
@@ -59,7 +59,7 @@ export const STORAGE_AVAILABLE = (() => {
*/
export const IS_THIRD_PARTY = (() => {
try {
return window.parent.document.location.host !== window.location.host;
return window.parent.location.host !== window.location.host;
} catch (e) {
return true;
}