kubernetes/third_party/ui/bower_components/modernizr/feature-detects/window-framed.js
2015-04-13 16:55:01 -07: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;
});