remove flag/appeal/pool element text flash on post/show

This commit is contained in:
albert
2013-03-08 13:17:47 -05:00
parent 147efb74d3
commit 80f3bb5e47
5 changed files with 10 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
Danbooru.PostAppeal = {};
Danbooru.PostAppeal.initialize_all = function() {
if ($("#c-posts") && $("#a-show")) {
if ($("#c-posts").length && $("#a-show").length) {
this.initialize_appeal();
this.hide_or_show_appeal_link();
}