Fix for mass_tagger when Nice URLs are enabled.
This commit is contained in:
parent
a2b94b31dd
commit
8aff5c39ce
1 changed files with 6 additions and 2 deletions
|
@ -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 ) {
|
||||||
|
|
Reference in a new issue