Skip to content

Commit 0fd4e98

Browse files
committed
MAGETWO-65599: [GitHub][PR] FPC JS - Fix for CORS issue #7914
- fix javascript static tests
1 parent 98233f4 commit 0fd4e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/view/frontend/web/js/page-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ define([
4242
*/
4343
(function lookup(element) {
4444
if ($.nodeName(element, 'iframe') && $(element).prop('src').indexOf(window.location.hostname) === -1) {
45-
return [];
45+
return [];
4646
}
4747
$(element).contents().each(function (index, el) {
4848
var hostName, iFrameHostName;

0 commit comments

Comments
 (0)