Skip to content

Commit

Permalink
Fix ad block nag project issue (#4596)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischer authored and agjohnson committed Sep 5, 2018
1 parent 181a964 commit 1225551
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 1225551

Please sign in to comment.