function applyForNewMeeting() {
  // Get new meeting modal values
  const title = document.querySelector('#new-meeting-title').value;
  const sequences = document.querySelector('#new-meeting-sequences');

  // Create the new meeting object
  meeting = createMeeting(title, sequences);

  // FIXME - Should check the whole defined time instead of just one sequence
  if(meeting.getSequences().length && (meeting.getSequence(0).duration > 0)) {
    // Reset the page
    setPage();
    // Close settings view
    closeSettings();
  }
}
/**
 * Set a new meeting from our settings view and refresh the page accordingly
 * Close the settings view when done
 *
 */
Set a new meeting from our settings view and refresh the page accordingly
Close the settings view when done
Set a new meeting from our settings view and refresh the page accordingly Close the settings view when done
function applyForNewMeeting() {
  const title = document.querySelector('#new-meeting-title').value;
  const sequences = document.querySelector('#new-meeting-sequences');
  meeting = createMeeting(title, sequences);
  if(meeting.getSequences().length && (meeting.getSequence(0).duration > 0)) {
    setPage();
    closeSettings();
  }
}
function applyForNewMeeting ( ) { const title = document . querySelector ( '#new-meeting-title' ) . value ; const sequences = document . querySelector ( '#new-meeting-sequences' ) ; meeting = createMeeting ( title , sequences ) ; if ( meeting . getSequences ( ) . length && ( meeting . getSequence ( 0 ) . duration > 0 ) ) { setPage ( ) ; closeSettings ( ) ; } }
Set a new meeting from our settings view and refresh the page accordingly
 Close the settings view when done
Set a new meeting from our settings view and refresh the page accordingly Close the settings view when done
// Get new meeting modal values // Create the new meeting object // FIXME - Should check the whole defined time instead of just one sequence // Reset the page // Close settings view