From 1dcbf7fce65ea169316fe14401b84f938dcd2509 Mon Sep 17 00:00:00 2001 From: yanas Date: Thu, 24 Jul 2014 13:39:46 +0200 Subject: [PATCH] Fixes a minor bug in toolbar hide/show behavior when etherpad or prezi is opened. --- chat.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chat.js b/chat.js index afb06c771..8db249b7e 100644 --- a/chat.js +++ b/chat.js @@ -204,8 +204,10 @@ var Chat = (function (my) { duration: 500}); } else { - // Undock the toolbar when the chat is shown. - Toolbar.dockToolbar(false); + // Undock the toolbar when the chat is shown and if we're in a + // video mode. + if (VideoLayout.isLargeVideoVisible()) + Toolbar.dockToolbar(false); videospace.animate({right: chatSize[0], width: videospaceWidth,