From f47905966892d02d37384292a9d477e25a242f04 Mon Sep 17 00:00:00 2001 From: KDSBrowne <kert.browne85@gmail.com> Date: Wed, 12 Dec 2018 14:01:33 +0000 Subject: [PATCH] remove tooltip for active buttons --- bigbluebutton-html5/imports/ui/components/button/component.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/button/component.jsx b/bigbluebutton-html5/imports/ui/components/button/component.jsx index 4ca5fc9843..9f1d9aa7ca 100644 --- a/bigbluebutton-html5/imports/ui/components/button/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/button/component.jsx @@ -118,11 +118,12 @@ export default class Button extends BaseButton { hideLabel, label, 'aria-label': ariaLabel, + 'aria-expanded': ariaExpanded, } = this.props; const renderFuncName = circle ? 'renderCircle' : 'renderDefault'; - if (hideLabel) { + if (hideLabel && !ariaExpanded) { const tooltipLabel = label || ariaLabel; return ( -- GitLab