From 292c76da124d1d8fdbf8aea9ab23e9c5068c4e87 Mon Sep 17 00:00:00 2001 From: Chang Alan Date: Wed, 5 Jun 2019 22:23:52 -0700 Subject: [PATCH] testing backfill --- docs/js/init.js | 32 ++++++++++++++++---------------- jade/index/index_content.html | 5 +++-- sass/_style.scss | 3 ++- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/docs/js/init.js b/docs/js/init.js index 79dbd533b7..7e793e59b8 100644 --- a/docs/js/init.js +++ b/docs/js/init.js @@ -67,23 +67,23 @@ }, 100); // BuySellAds Detection - var $bsa = $('.buysellads'), - $timesToCheck = 3; - function checkForChanges() { - if (!$bsa.find('#carbonads').length) { - $timesToCheck -= 1; - if ($timesToCheck >= 0) { - setTimeout(checkForChanges, 500); - } else { - var donateAd = $( - '
Help support us by turning off adblock. If you still prefer to keep adblock on for this page but still want to support us, feel free to donate. Any little bit helps.
' - ); + // var $bsa = $('.buysellads'), + // $timesToCheck = 3; + // function checkForChanges() { + // if (!$bsa.find('#carbonads').length) { + // $timesToCheck -= 1; + // if ($timesToCheck >= 0) { + // setTimeout(checkForChanges, 500); + // } else { + // var donateAd = $( + // '
Help support us by turning off adblock. If you still prefer to keep adblock on for this page but still want to support us, feel free to donate. Any little bit helps.
' + // ); - $bsa.append(donateAd); - } - } - } - checkForChanges(); + // $bsa.append(donateAd); + // } + // } + // } + // checkForChanges(); // BuySellAds Demos close button. $('.buysellads.buysellads-demo .close').on('click', function() { diff --git a/jade/index/index_content.html b/jade/index/index_content.html index a605beb17b..f2c6cdde7d 100644 --- a/jade/index/index_content.html +++ b/jade/index/index_content.html @@ -15,8 +15,9 @@

A modern responsive front-end framework based on Material Desi
- - + +
+

diff --git a/sass/_style.scss b/sass/_style.scss index 13eff7b57a..478f344e4b 100644 --- a/sass/_style.scss +++ b/sass/_style.scss @@ -720,7 +720,8 @@ code[class*="language-"] { margin-top: 42px; } -#carbonads { +#carbonads, +#bsap_1308711 { max-width: 150px; display: inline-block; position: relative;