mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-02 07:49:39 +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()
|
model.at(e.target).remove()
|
||||||
|
|
||||||
exports.toggleEdit = (e, el) ->
|
exports.toggleEdit = (e, el) ->
|
||||||
selector = '#\\' + $(el).attr('data-selector')
|
selector = $(el).attr('data-selector')
|
||||||
$(selector).toggle()
|
if selector.charAt(0) == '$'
|
||||||
|
selector = '\\' + selector
|
||||||
|
$('#'+selector).toggle()
|
||||||
|
|
||||||
exports.vote = (e, el, next) ->
|
exports.vote = (e, el, next) ->
|
||||||
direction = $(el).attr('data-direction')
|
direction = $(el).attr('data-direction')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue