mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-05-23 22:26:55 +00:00
i dunno
This commit is contained in:
parent
a8126ec487
commit
f37aee3217
1 changed files with 4 additions and 2 deletions
|
|
@ -135,8 +135,10 @@ ready (model) ->
|
|||
model.at(e.target).remove()
|
||||
|
||||
exports.toggleEdit = (e, el) ->
|
||||
selector = '#\\' + $(el).attr('data-selector')
|
||||
$(selector).toggle()
|
||||
selector = $(el).attr('data-selector')
|
||||
if selector.charAt(0) == '$'
|
||||
selector = '\\' + selector
|
||||
$('#'+selector).toggle()
|
||||
|
||||
exports.vote = (e, el, next) ->
|
||||
direction = $(el).attr('data-direction')
|
||||
|
|
|
|||
Loading…
Reference in a new issue