diff --git a/react/features/toolbox/components/ToolbarButton.web.js b/react/features/toolbox/components/ToolbarButton.web.js index ec92cf162..8922ea9e1 100644 --- a/react/features/toolbox/components/ToolbarButton.web.js +++ b/react/features/toolbox/components/ToolbarButton.web.js @@ -227,7 +227,7 @@ class ToolbarButton extends AbstractToolbarButton { } } - if (button.shortcut) { + if (button.shortcut && APP && APP.keyboardshortcut) { APP.keyboardshortcut.registerShortcut( button.shortcut, button.shortcutAttr,