Fixed the mechanism of toggling the chat bar and made sure user is unable to resize the whiteboard when the chat is closed.
This commit is contained in:
parent
f5fe166b50
commit
8b06d43aec
@ -201,8 +201,10 @@ Handlebars.registerHelper 'whiteboardSize', (section) ->
|
||||
setInSession "display_chatbar", !getInSession "display_chatbar"
|
||||
if !getInSession("display_chatbar")
|
||||
$('#whiteboard').css('width', '100%')
|
||||
$('#whiteboard .ui-resizable-handle').css('display', 'none')
|
||||
else
|
||||
$('#whiteboard').css('width', '')
|
||||
$('#whiteboard .ui-resizable-handle').css('display', '')
|
||||
setTimeout redrawWhiteboard, 0
|
||||
|
||||
@toggleMic = (event) ->
|
||||
|
@ -58,7 +58,9 @@
|
||||
<div id="panels">
|
||||
<div class="shield"></div>
|
||||
{{> whiteboard id="whiteboard" name="whiteboard"}}
|
||||
{{> chatbar id="chat" title="Chat" name="chatbar"}}
|
||||
{{#if getInSession "display_chatbar"}}
|
||||
{{> chatbar id="chat" title="Chat" name="chatbar"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{> modals}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user