From cb9510190c2af86b9fa0d779fcaec4b6c9de6524 Mon Sep 17 00:00:00 2001 From: hancong03 <121371790@qq.com> Date: Fri, 1 Nov 2013 18:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E6=A0=87=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=BB=98=E8=AE=A4=E4=B8=BA=E7=A6=81=E7=94=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _src/ui/editorui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/ui/editorui.js b/_src/ui/editorui.js index c0ecabe8..6a1a841b 100644 --- a/_src/ui/editorui.js +++ b/_src/ui/editorui.js @@ -261,7 +261,7 @@ } }, theme:editor.options.theme, - disabled:cmd == 'scrawl' && editor.queryCommandState("scrawl") == -1 + disabled:(cmd == 'scrawl' && editor.queryCommandState("scrawl") == -1) || ( cmd == 'charts' ) }); editorui.buttons[cmd] = ui; editor.addListener('selectionchange', function () { -- GitLab