From ae6db1d99748bc515ee4d68fa5cc89840b9bce58 Mon Sep 17 00:00:00 2001 From: Joe <33972521+hnb-ku@users.noreply.github.com> Date: Fri, 12 Apr 2019 16:29:32 +0800 Subject: [PATCH] FIX: composer TOC button has inverted logic This changed recently in core. --- common/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/header.html b/common/header.html index aa4816d..8fdd97b 100644 --- a/common/header.html +++ b/common/header.html @@ -328,7 +328,7 @@ api.addToolbarPopupMenuOptionsCallback(() => { action: "insertDtoc", icon: "align-left", label: themePrefix("insert_table_of_contents"), - condition: !composerController.get("model.canCategorize") + condition: composerController.get("model.canCategorize") }; }); api.modifyClass("controller:composer", {