From f035dfd8b91809521125a940991c57c6ccc63c26 Mon Sep 17 00:00:00 2001 From: Alys Date: Mon, 5 Oct 2015 19:37:53 +1000 Subject: [PATCH] fix "Advanced Options in tasks start collapsed" when "Open new tasks in edit mode" is on - fixes https://github.com/HabitRPG/habitrpg/issues/5981 --- common/script/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/script/index.coffee b/common/script/index.coffee index 9bb1b205f6..191c2e12d2 100644 --- a/common/script/index.coffee +++ b/common/script/index.coffee @@ -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