diff --git a/readthedocs/core/static-src/core/js/doc-embed/sponsorship.js b/readthedocs/core/static-src/core/js/doc-embed/sponsorship.js index 647ee0a3f44..bff2f9cd6e6 100644 --- a/readthedocs/core/static-src/core/js/doc-embed/sponsorship.js +++ b/readthedocs/core/static-src/core/js/doc-embed/sponsorship.js @@ -280,7 +280,7 @@ function init() { error: function () { console.error('Error loading Read the Docs promo'); - if (!rtddata.ad_free && rtd.api_host === 'https://readthedocs.org' && detect_adblock()) { + if (!rtd.ad_free && rtd.api_host === 'https://readthedocs.org' && detect_adblock()) { adblock_admonition(); adblock_nag(); }