added jquery helper function file
This commit is contained in:
parent
52f5a265fa
commit
0396ec5283
1 changed files with 9 additions and 0 deletions
9
lib/helpers.js
Normal file
9
lib/helpers.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
function find_thumb_link_containers () {
|
||||
|
||||
var post_link = "a[href*='/post/view/']";
|
||||
var has_thumb_img = ":has(img[src*='/thumb/'])";
|
||||
|
||||
var list = $( post_link + has_thumb_img ).parent();
|
||||
|
||||
return list;
|
||||
}
|
Reference in a new issue