Browse Source

fix(toolbar): remove ref to removed MAIN_TOOLBAR_BUTTONS (#2787)

master
virtuacoplenny 7 years ago
parent
commit
ea1aef0703
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      react/features/toolbox/functions.web.js

+ 1
- 2
react/features/toolbox/functions.web.js View File

@@ -28,6 +28,5 @@ export function getToolboxHeight() {
28 28
  * is enabled, false - otherwise.
29 29
  */
30 30
 export function isButtonEnabled(name: string) {
31
-    return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
32
-            || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
31
+    return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1;
33 32
 }

Loading…
Cancel
Save