From 7a62c03ebe5c36a47274d170ce8c39957cdf437c Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Tue, 10 Sep 2013 13:10:56 -0400 Subject: reveal favs on /log --- static/js/src/log.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'static/js/src/log.js') diff --git a/static/js/src/log.js b/static/js/src/log.js index e5a93d9..0f678fe 100644 --- a/static/js/src/log.js +++ b/static/js/src/log.js @@ -31,4 +31,15 @@ function initLogThumb(selector, parentSelector) { } } }) -} \ No newline at end of file +} + +function load_favs(){ + $(function(){ + $(".permalink").each(function(){ + var $div = $("
"); + $div.load(this.href + " .faver-list"); + $div.insertBefore($(this).parent()) + }) + }) +} + -- cgit v1.2.3-70-g09d2