handle no previous meetings

This commit is contained in:
Josh 2017-06-14 15:54:13 -04:00
parent e6fb0dbf15
commit c14bb90eb5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ initialPopulate = function(){
}
isPreviouslyJoined = function(meeting){
joinedMeetings = localStorage.getItem('joinedRooms-' + $('body').data('current-user')).split(',');
joinedMeetings = localStorage.getItem('joinedRooms-' + $('body').data('current-user')).split(',') || [];
return joinedMeetings.indexOf(meeting) >= 0
}