1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-29 18:26:42 +00:00

Updated right sidebar

This commit is contained in:
2015-10-20 13:10:48 -04:00
parent a9f6f53cb3
commit f968215375
2 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
<div class="afs_ads">&nbsp;</div> <div class="afs_ads">&nbsp;</div>
<div id="blocked_message"></div>
<script> <script>
(function() { (function() {
var message = "We've detected that you have an ad blocker enabled! Please enable it and help support our work!"; var message = "We've detected that you have an ad blocker enabled! Please enable it and help support our work!";
@@ -16,7 +17,7 @@
|| ad.innerHTML.length == 0 || ad.innerHTML.length == 0
|| ad.clientHeight === 0) { || ad.clientHeight === 0) {
//alert(message); //alert(message);
document.write(message); document.getElementById("blocked_message").innerHTML = message;
//window.location.href = '[URL of the donate page. Remove the two slashes at the start of thsi line to enable.]'; //window.location.href = '[URL of the donate page. Remove the two slashes at the start of thsi line to enable.]';
} else { } else {
ad.style.display = 'none'; ad.style.display = 'none';

View File

@@ -37,9 +37,8 @@
<%= render 'layouts/rsidebar' %> <%= render 'layouts/rsidebar' %>
</ul> </ul>
</div> </div>
<!--/.well -->
</div> </div>
<!--/sidebar-nav-fixed --> </div>
</div> </div>
</body> </body>
<% end %> <% end %>