Skip to content

Commit 6bf9155

Browse files
committed
refactor: edit support banner
1 parent 829920e commit 6bf9155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/ditto.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ function create_banner(element) {
263263

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

268269
function create_page_anchors() {

0 commit comments

Comments
 (0)