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

[fix] fixing enable lazy load #194

Merged
merged 1 commit into from
Jun 25, 2020
Merged

[fix] fixing enable lazy load #194

merged 1 commit into from
Jun 25, 2020

Conversation

marcosvlehmkuhl
Copy link
Contributor

#193
So I believe that there were two problems:

  1. googletag.PubAdsService.enableLazyLoad should receive an object but it was given an array.
  2. Calling enableLazyLoad with the .call method will change the this reference inside the function enableLazyLoad what may be causing the bug.

@jaanauati
Copy link
Owner

@marcosvlehmkuhl makes sense, i'll try to get this tested and merged btw today - tomorrow morning.
Thank you!

@jaanauati jaanauati merged commit adf62ed into jaanauati:master Jun 25, 2020
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