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

[5.0] update fitContent() #717

Merged
merged 1 commit into from
Jan 14, 2020
Merged

[5.0] update fitContent() #717

merged 1 commit into from
Jan 14, 2020

Conversation

browner12
Copy link
Contributor

if the user is in an iframe when a failure occurs, fitContent() will grab the dimensions of the iframe body, not the root body that we actually want.

this change makes sure we switch back to the default scope before resizing the browser to fit the content.

if the user is in an iframe when a failure occurs, `fitContent()` will grab the dimensions of the *iframe* body, not the *root* body that we actually want.

this change makes sure we switch back to the default scope before resizing the browser to fit the content.
@taylorotwell taylorotwell merged commit f32709d into laravel:5.0 Jan 14, 2020
@browner12 browner12 deleted the patch-1 branch January 14, 2020 20:37
@browner12
Copy link
Contributor Author

fixes #715

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

Successfully merging this pull request may close these issues.

2 participants