j-ulrich / jquery-simulate-ext

jQuery simulate extended
https://j-ulrich.github.io/jquery-simulate-ext/
Other
146 stars 48 forks source link

Add a Null Check in windowOfDocument #33

Closed alanwright closed 9 years ago

alanwright commented 9 years ago

Add a null check for windowOfDocument function. It is possible you can’t access a window.frame when it is cross-domain. This could happen at any index in the window.frame so best to check all of them.

j-ulrich commented 9 years ago

Thanks!

alanwright commented 9 years ago

Thank you for the cool repo :)