Add CSS class toggle-you to menu entry for marking posts as yours.
This commit is contained in:
parent
8518d0d312
commit
a2c75ee237
@ -56,6 +56,8 @@ QuoteYou =
|
|||||||
menu:
|
menu:
|
||||||
init: ->
|
init: ->
|
||||||
label = $.el 'label',
|
label = $.el 'label',
|
||||||
|
className: 'toggle-you'
|
||||||
|
,
|
||||||
<%= html('<input type="checkbox"> You') %>
|
<%= html('<input type="checkbox"> You') %>
|
||||||
input = $ 'input', label
|
input = $ 'input', label
|
||||||
$.on input, 'change', QuoteYou.menu.toggle
|
$.on input, 'change', QuoteYou.menu.toggle
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user