Fix for mass_tagger when Nice URLs are enabled.

This commit is contained in:
green-ponies (jgen) 2012-04-15 18:24:25 -04:00
parent a2b94b31dd
commit 8aff5c39ce

View file

@ -2,10 +2,14 @@ function find_thumb_link_containers () {
var post_link = "a[href*='/post/view/']"; var post_link = "a[href*='/post/view/']";
var has_thumb_img = ":has(img[src*='/thumb/'])"; var has_thumb_img = ":has(img[src*='/thumb/'])";
var list = $( post_link + has_thumb_img ).parent(); var list = $( post_link + has_thumb_img ).parent();
return list; if (list) { return list; }
has_thumb_img = ":has(img[src*='_thumbs/'])";
list = $( post_link + has_thumb_img ).parent();
return list;
} }
function toggle_tag( button, id ) { function toggle_tag( button, id ) {