Skip to content

Commit 98233f4

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

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
@@ -41,7 +41,7 @@ define([
4141
* @param {jQuery} element - Comment holder
4242
*/
4343
(function lookup(element) {
44-
if ($.nodeName(element, "iframe") && $(element).prop('src').indexOf(window.location.hostname) === -1) {
44+
if ($.nodeName(element, 'iframe') && $(element).prop('src').indexOf(window.location.hostname) === -1) {
4545
return [];
4646
}
4747
$(element).contents().each(function (index, el) {

0 commit comments

Comments
 (0)