diff --git a/jquery.inview.min.js b/jquery.inview.min.js index 4fb2deb..b9e66f2 100644 --- a/jquery.inview.min.js +++ b/jquery.inview.min.js @@ -1,3 +1,3 @@ -dow.innerWidth};if(!f.height)if((a=document.compatMode)||!d.support.boxModel){a=a==="CSS1Compat"?document.documentElement:document.body;f={height:a.clientHeight,width:a.clientWidth}}return f}setInterval(function(){var a=[],f,k=0,i,c,o=d.expando;d.each(d.cache,function(q,j){var g=j.events;if(!g)g=(j=this[o])&&j.events;if(g&&g.inview)if(g.live){var p=d(j.handle.elem);d.each(g.live,function(){if(this.origType.substr(0,6)==="inview")a= +(function(d){function n(){var a,f={height:window.innerHeight,width:window.innerWidth};if(!f.height)if((a=document.compatMode)||!d.support.boxModel){a=a==="CSS1Compat"?document.documentElement:document.body;f={height:a.clientHeight,width:a.clientWidth}}return f}setInterval(function(){var a=[],f,k=0,i,c,o=d.expando;d.each(d.cache,function(q,j){var g=j.events;if(!g)g=(j=this[o])&&j.events;if(g&&g.inview)if(g.live){var p=d(j.handle.elem);d.each(g.live,function(){if(this.origType.substr(0,6)==="inview")a= a.concat(p.find(this.selector).toArray())})}else a.push(j.handle.elem)});if(f=a.length){i=n();for(c={top:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft};kc.top&&b.topc.left&&b.leftb.left?"right":c.left+i.widthb.top?"bottom":c.top+i.height