Merge pull request #872 from jitsi/fix-hiding-toolbars
Fixes hiding toolbars.
This commit is contained in:
commit
955680018f
|
@ -35,9 +35,11 @@ function hideToolbar(force) {
|
||||||
clearTimeout(toolbarTimeoutObject);
|
clearTimeout(toolbarTimeoutObject);
|
||||||
toolbarTimeoutObject = null;
|
toolbarTimeoutObject = null;
|
||||||
|
|
||||||
if (Toolbar.isHovered() || APP.UI.isRingOverlayVisible()) {
|
if (Toolbar.isHovered()
|
||||||
|
|| APP.UI.isRingOverlayVisible()
|
||||||
|
|| SideContainerToggler.isVisible()) {
|
||||||
toolbarTimeoutObject = setTimeout(hideToolbar, toolbarTimeout);
|
toolbarTimeoutObject = setTimeout(hideToolbar, toolbarTimeout);
|
||||||
} else if (!SideContainerToggler.isVisible() || force) {
|
} else {
|
||||||
Toolbar.hide();
|
Toolbar.hide();
|
||||||
$('#subject').animate({top: "-=40"}, 300);
|
$('#subject').animate({top: "-=40"}, 300);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue