forked from External/greenlight
		
	refactor bbb helper and implement wait for mod
This commit is contained in:
		@@ -33,16 +33,22 @@
 | 
			
		||||
      var link = window.location.protocol +
 | 
			
		||||
        '//' +
 | 
			
		||||
        window.location.hostname +
 | 
			
		||||
        '/' +
 | 
			
		||||
        'meetings/' +
 | 
			
		||||
        '/meetings/' +
 | 
			
		||||
        Math.trunc(Math.random() * 1000000000);
 | 
			
		||||
 | 
			
		||||
      $('.meeting-url').val(link);
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    $('.meeting-url').val('');
 | 
			
		||||
    $('.generate-link').click();
 | 
			
		||||
    if (meetingId = $('.meeting-url').data('meetingId')) {
 | 
			
		||||
      var link = window.location.protocol +
 | 
			
		||||
        '//' +
 | 
			
		||||
        window.location.hostname +
 | 
			
		||||
        '/meetings/' +
 | 
			
		||||
        meetingId;
 | 
			
		||||
      $('.meeting-url').val(link)
 | 
			
		||||
    } else {
 | 
			
		||||
      $('.generate-link').click();
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  var initRooms = function() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user