sebarmeli/JAIL — pull request #29 by crlcu (2012-09-21 11:22:09+00:00)
Title: Small bug fix

Hi there,
I found a bug when loading images with ajax and I made the fix.
You can find the modifications I made on line 357. ( while ( parent.length && parent.get(0).nodeName.toUpperCase() !== "BODY" ) ). This is because when loading images with ajax, parent can end at a empty object.