is there way check if event triggerd 'window'?
i tried following window not have method called issamenode():
if(window.issamenode(ev.srcelement)){ alert(); }
why not use this?
if(e.srcelement === window)
that seems work in webkit console fine when resize window after running
$(window).resize(function(e){ console.log( e.srcelement === window) }); // returns true
Comments
Post a Comment