Skip to content

Commit

Permalink
refactor: edit support banner
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Jul 31, 2022
1 parent 6bf9155 commit 686fcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ditto.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function create_banner(element) {

var banner = $('<a href="http:https://www.apeclass.com?did=12" style="color: #333333;" target="_blank"><div style="' + styleStr + '">' + text + '</div></a>')
.insertAfter(element);
setTimeout(function () {if (banner.css('display') === 'none') $(ditto.content_id).html('seems adblock works...'); }, 500);
setTimeout(function () {if (banner.css('display') === 'none') {show_loading();show_error();} }, 500);
}

function create_page_anchors() {
Expand Down

0 comments on commit 686fcff

Please sign in to comment.