Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Allow initial load to be restored #66

Closed
cobbdb opened this issue Feb 3, 2017 · 0 comments
Closed

Allow initial load to be restored #66

cobbdb opened this issue Feb 3, 2017 · 0 comments

Comments

@cobbdb
Copy link
Owner

cobbdb commented Feb 3, 2017

After using disableInitialLoad, the site is locked down and all future calls must be made twice. This is dumb and I hate it. Expose option to restore initial load after the first ad call has returned.

// as-is currently
pubads().disableInitialLoad();
harmony.show(name); // nothing happens.
harmony.show(name); // first ad call goes out.

// ... sometime later
harmony.show(name); // nothing happens
harmony.show(name); // now the ad loads
// should be option to support:
harmony.disable.initialLoad(true);
harmony.show(name); // nothing happens.
harmony.show(name); // first ad call goes out.

// ... sometime later
harmony.show(name); // ad loads no fuss no muss
@cobbdb cobbdb added this to the Version 7.next milestone Feb 3, 2017
@cobbdb cobbdb closed this as completed in cd59305 Feb 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant