From ea1aef0703e89ecf746d5dcabd90f86996bf9eec Mon Sep 17 00:00:00 2001 From: virtuacoplenny Date: Tue, 10 Apr 2018 13:51:37 -0700 Subject: [PATCH] fix(toolbar): remove ref to removed MAIN_TOOLBAR_BUTTONS (#2787) --- react/features/toolbox/functions.web.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/react/features/toolbox/functions.web.js b/react/features/toolbox/functions.web.js index 5c570852c..0c5c31a67 100644 --- a/react/features/toolbox/functions.web.js +++ b/react/features/toolbox/functions.web.js @@ -28,6 +28,5 @@ export function getToolboxHeight() { * is enabled, false - otherwise. */ export function isButtonEnabled(name: string) { - return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1 - || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1; + return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1; }