Don't reload etherpad iFrame on wipe if it wasn't loaded before

master
Daniel Berteaud 11 years ago
parent d2e54b0dfb
commit 87c6cdc62c
  1. 2
      public/js/vroom.js

@ -886,7 +886,7 @@ function initVroom(room) {
$.notify(locale.ERROR_OCCURRED, 'error');
},
success: function(data){
if (data.status && data.status == 'success'){
if (data.status && data.status == 'success' && $('#etherpadContainer').html() != ''){
loadEtherpadIframe();
}
else if (data.msg){

Loading…
Cancel
Save