Use tipsy for post scope tooltip

This commit is contained in:
Andrej Kacian 2011-08-15 00:54:27 +02:00
parent ba11bb6d89
commit 8dc1b70621

View file

@ -2,6 +2,11 @@
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
:javascript
$(function() {
$("span.post_scope").tipsy({trigger: 'hover', gravity: 'n'});
});
.stream_element{:id => post.guid}
- if user_signed_in?
- if post.author.owner_id == current_user.id