added jquery helper function file

This commit is contained in:
Christian Walde 2010-09-09 01:35:38 +02:00
parent 52f5a265fa
commit 0396ec5283

9
lib/helpers.js Normal file
View 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;
}