This commit is contained in:
Nicolas Stepien 2012-05-18 05:00:58 +02:00
parent 02bf6efd1c
commit 611890237a
2 changed files with 3 additions and 2 deletions

View File

@ -2658,7 +2658,7 @@
if (post.isInlined && !post.isCrosspost) {
return;
}
name = $('.name', post.el);
name = $('.postInfo .name', post.el);
name.textContent = 'Anonymous';
if ((trip = name.nextElementSibling) && trip.className === 'postertrip') {
$.rm(trip);

View File

@ -2086,7 +2086,7 @@ Anonymize =
Main.callbacks.push @node
node: (post) ->
return if post.isInlined and not post.isCrosspost
name = $ '.name', post.el
name = $ '.postInfo .name', post.el
name.textContent = 'Anonymous'
if (trip = name.nextElementSibling) and trip.className is 'postertrip'
$.rm trip
@ -2859,6 +2859,7 @@ ImageExpand =
expand: (thumb, url) ->
# Do not expand images of hidden/filtered replies, or already expanded pictures.
return if $.x 'ancestor-or-self::*[@hidden]', thumb
thumb.hidden = true
if img = thumb.nextSibling
# Expand already loaded picture