Files
PrestaShop/admin-dev/themes/default/components/modernizr/feature-detects/window-framed.js
T
2013-07-18 18:51:24 +02:00

9 lines
162 B
JavaScript

// tests if page is iframed
// github.com/Modernizr/Modernizr/issues/242
Modernizr.addTest('framed', function(){
return window.location != top.location;
});