toggles layer on votes via js
This commit is contained in:
@@ -2,9 +2,11 @@ App.Votes =
|
||||
|
||||
hoverize: (votes) ->
|
||||
$(votes).hover ->
|
||||
$("div.not-logged", votes).show()
|
||||
$("div.anonymous-votes", votes).show();
|
||||
$("div.not-logged", votes).show();
|
||||
, ->
|
||||
$("div.not-logged", votes).hide()
|
||||
$("div.anonymous-votes", votes).hide();
|
||||
$("div.not-logged", votes).hide();
|
||||
|
||||
initialize: ->
|
||||
App.Votes.hoverize votes for votes in $("div.votes")
|
||||
|
||||
Reference in New Issue
Block a user