mirror of https://github.com/dani/vroom.git
Fix loading etherpad iFrame the first time
This commit is contained in:
parent
2a71e95b3b
commit
44639502be
|
@ -2229,7 +2229,7 @@ function initVroom(room) {
|
|||
var action = ($(this).hasClass('btn-danger')) ? 'hide' : 'show';
|
||||
if (action === 'show'){
|
||||
// If not already loaded, load etherpad in the iFrame
|
||||
if ($('#etherpadContainer').html() === ''){
|
||||
if ($('#etherpadContainer').html().match(/^\s*/)){
|
||||
loadEtherpadIframe();
|
||||
}
|
||||
$('#etherpadContainer').slideDown('200');
|
||||
|
|
Loading…
Reference in New Issue