From b887b76c29a94d97057f2e01efc812bad2166392 Mon Sep 17 00:00:00 2001 From: MrWaffle Date: Wed, 22 Jan 2014 19:46:34 +0100 Subject: [PATCH] Implement favourite tooltip to show who favourited a post --- public/src/forum/topic.js | 2 ++ public/templates/topic.tpl | 2 +- src/favourites.js | 19 +++++++++++++++++++ src/topics.js | 24 ++++++++++++++++++++++-- 4 files changed, 44 insertions(+), 3 deletions(-) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index f8cb5b5f67..9c1eaf2e27 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -341,6 +341,8 @@ define(['composer'], function(composer) { updateHeader(); } })(); + + $('.favourite-tooltip').tooltip(); }); function enableInfiniteLoading() { diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 90ad7db476..8a134876cd 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -66,7 +66,7 @@ -