added jquery helper function file
This commit is contained in:
parent
52f5a265fa
commit
0396ec5283
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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user