Fix deleted OP image count
This commit is contained in:
parent
3f58572603
commit
cec02d0f92
@ -1977,7 +1977,7 @@
|
||||
left: '0px'
|
||||
}, html));
|
||||
threadStats.replies = 0;
|
||||
threadStats.images = 1;
|
||||
threadStats.images = $('.op img[md5]') ? 1 : 0;
|
||||
return g.callbacks.push(threadStats.node);
|
||||
},
|
||||
node: function(root) {
|
||||
|
||||
@ -1550,7 +1550,7 @@ threadStats =
|
||||
html = "<div class=move>Replies: <span id=rcount>0</span> Images: <span id=icount>1</span></div>"
|
||||
$.append d.body, (ui.dialog 'stats', bottom: '0px', left: '0px', html)
|
||||
threadStats.replies = 0
|
||||
threadStats.images = 1
|
||||
threadStats.images = if $ '.op img[md5]' then 1 else 0
|
||||
g.callbacks.push threadStats.node
|
||||
node: (root) ->
|
||||
return if root.className
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user