You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin works as expected when first loading the iframe.
When clicking on a link inside the iframe, though, the body selector returns an empty array.
The text was updated successfully, but these errors were encountered:
my guess is that the link goes to a document with no body tag?
--- this was previously reported, but I have not integrated this checking
var newHeight=0;
if ($body.length>0) {
newHeight = $body[0].scrollHeight + options.heightOffset;
}
The iframe will eventually get replaced by proper integration, but it will take time and I am stuck with it for now. The plugin just doesn't work as expected.
I tried to do a little debugging myself, but couldn't come to a reasonable conclusion.
On Fri 09 Mar 2012 12:28:37 AM KST, Jesse House wrote:
my guess is that the link goes to a document with no body tag?
--- this was previously reported, but I have not integrated this checking
var newHeight=0;
if ($body.length>0) {
newHeight = $body[0].scrollHeight + options.heightOffset;
}
Reply to this email directly or view it on GitHub: #24 (comment)
The plugin works as expected when first loading the iframe.
When clicking on a link inside the iframe, though, the body selector returns an empty array.
The text was updated successfully, but these errors were encountered: