From cd92b1dccb6d6684019213421bcc53f6df4ad678 Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 19 Jan 2011 16:17:00 -0800 Subject: [PATCH] put timeago in document ready, not outside --- app/views/aspects/index.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/aspects/index.js.erb b/app/views/aspects/index.js.erb index a69361c35..16ec8f6c5 100644 --- a/app/views/aspects/index.js.erb +++ b/app/views/aspects/index.js.erb @@ -15,5 +15,5 @@ $(document).ready(function() { loadingText: "", loadingImg: '/images/ajax-loader.gif' }); + $("abbr.timeago").timeago(); }); -$("abbr.timeago").timeago();