mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-31 19:20:25 +00:00
habitrpg-shared: put drops back in
This commit is contained in:
parent
73fe8ebfdd
commit
69e1f991b7
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ module.exports.app = (appExports, model) ->
|
|||
paths = {}
|
||||
algos.score(uObj, tObj, direction, {paths:paths})
|
||||
_.each paths, (v,k) -> user.set(k,helpers.dotGet(k, uObj)); true
|
||||
if uObj._tmp?.drop and $?
|
||||
debugger
|
||||
model.set '_drop', uObj._tmp.drop
|
||||
$('#item-dropped-modal').modal 'show'
|
||||
|
||||
appExports.addTask = (e, el) ->
|
||||
type = $(el).attr('data-task-type')
|
||||
|
|
|
|||
Loading…
Reference in a new issue