From 9ab0077ec5b1c65094fbd7b6122ae35786d6f0d4 Mon Sep 17 00:00:00 2001 From: jeremyfrench Date: Wed, 7 Sep 2011 16:09:16 +0100 Subject: [PATCH] Add tooltip to any vote votes if not logged in. --- level_omega/js/level_any_vote.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/level_omega/js/level_any_vote.js b/level_omega/js/level_any_vote.js index 9139da9..6924d04 100644 --- a/level_omega/js/level_any_vote.js +++ b/level_omega/js/level_any_vote.js @@ -35,4 +35,13 @@ $(document).ready(function() { } ); }); + + var registerToVoteContent = 'Voting on a company is only available to registered users. Please login or register to vote on this company.'; + // Vote to Register + $('.vote_registration').tipTip({ + defaultPosition: 'top', + content:registerToVoteContent, + keepAlive: true, + }); + }); \ No newline at end of file