summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/window-framed.js
blob: f8a6704ac58d8e9390e67bd76a4a881fea04d619 (plain)
1
2
3
4
5
6
7
8

// tests if page is iframed

// github.com/Modernizr/Modernizr/issues/242

Modernizr.addTest('framed', function(){
  return window.location != top.location;
});