diff --git a/public/js/vroom.js b/public/js/vroom.js index 7912c67..a1dbf90 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -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');