Skip to content

Commit 1225551

Browse files
davidfischeragjohnson
authored andcommitted
Fix ad block nag project issue (#4596)
1 parent 181a964 commit 1225551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/core/static-src/core/js/doc-embed/sponsorship.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ function init() {
280280
error: function () {
281281
console.error('Error loading Read the Docs promo');
282282

283-
if (!rtddata.ad_free && rtd.api_host === 'https://readthedocs.org' && detect_adblock()) {
283+
if (!rtd.ad_free && rtd.api_host === 'https://readthedocs.org' && detect_adblock()) {
284284
adblock_admonition();
285285
adblock_nag();
286286
}

0 commit comments

Comments
 (0)