fix "Advanced Options in tasks start collapsed" when "Open new tasks in edit mode" is on - fixes https://github.com/HabitRPG/habitrpg/issues/5981

This commit is contained in:
Alys 2015-10-05 19:37:53 +10:00
parent 2683b2b0a0
commit f035dfd8b9

View file

@ -640,7 +640,7 @@ api.wrap = (user, main=true) ->
user["#{task.type}s"].unshift(task)
if user.preferences.newTaskEdit then task._editing = true
if user.preferences.tagsCollapsed then task._tags = true
if user.preferences.advancedCollapsed then task._advanced = true
if !user.preferences.advancedCollapsed then task._advanced = true
cb? null, task
task