Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrollToOffset broken #131

Closed
sdboer78 opened this issue Dec 11, 2014 · 1 comment
Closed

scrollToOffset broken #131

sdboer78 opened this issue Dec 11, 2014 · 1 comment

Comments

@sdboer78
Copy link

release: 2.7.0

frame.content.html:
if ('parentIFrame' in window) {
parentIFrame.scrollToOffset(1,1);
}

gives:
Uncaught TypeError: Cannot read property 'x' of undefined iframeResizer.min.js:8

Check:
http://widgets.eo.nl/sander/ir/

parentIFrame.scrollTo(1,1) works fine!

davidjbradshaw added a commit that referenced this issue Dec 12, 2014
@davidjbradshaw
Copy link
Owner

Argh, that's a lesson not to refactor code when tired and a hole in the unit test for this bit of code.

Fixed v2.7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants