Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(ToolbarToggler): remove Yoda condition

paweldomasecfc56461ed3
diff --git a/modules/UI/toolbars/ToolbarToggler.js b/modules/UI/toolbars/ToolbarToggler.js
index f53e54b5ce..a45d46fb58 100644
--- a/modules/UI/toolbars/ToolbarToggler.js
+++ b/modules/UI/toolbars/ToolbarToggler.js
@@ -34,7 +34,7 @@ function hideToolbar(force) { // eslint-disable-line no-unused-vars
clearTimeout(toolbarTimeoutObject);
toolbarTimeoutObject = null;
- if (true !== force &&
+ if (force !== true &&
(Toolbar.isHovered()
|| SideContainerToggler.isVisible())) {
toolbarTimeoutObject = setTimeout(hideToolbar, toolbarTimeout);