sebarmeli/JAIL — Issue #20: ignoreHiddenImages + redrawing part of DOM
Author: ondrejhlavacek
Created: 2011-10-18 09:03:49+00:00
State: open

When I use Jail with ignoreHiddenImages set to true and then rerender or remove part of DOM, where one of the images was, then scrolling through the page triggers an error:

```
Uncaught TypeError: Cannot read property 'tagName' of undefined
$.asynchImageLoader.$.jail._isVisibleInOverflownContainerjail.js:322
$.asynchImageLoader.$.jail._loadImageIfVisiblejail.js:269
_imageLoaderjail.js:174
jQuery.extend.eachjquery-1.6.1.js:641
jQuery.fn.jQuery.eachjquery-1.6.1.js:265
$.asynchImageLoader.$.jail._bufferedEventListenerjail.js:173
```