|
|
|
@ -400,6 +400,11 @@ const Toolbar = { |
|
|
|
|
isVisible); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
APP.UI.addListener(UIEvents.RAISE_HAND_CHANGED, |
|
|
|
|
function(isRaisedHand) { |
|
|
|
|
Toolbar._toggleRaiseHand(isRaisedHand); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
if(!APP.tokenData.isGuest) { |
|
|
|
|
$("#toolbar_button_profile").addClass("unclickable"); |
|
|
|
|
} |
|
|
|
@ -565,6 +570,13 @@ const Toolbar = { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Toggles / untoggles the view for raised hand. |
|
|
|
|
*/ |
|
|
|
|
_toggleRaiseHand(isRaisedHand) { |
|
|
|
|
$('#toolbar_button_raisehand').toggleClass("toggled", isRaisedHand); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Marks video icon as muted or not. |
|
|
|
|
* @param {boolean} muted if icon should look like muted or not |
|
|
|
|