I am trying to add a class to a div in my html but would like to add a delay before doing so. 
I've got the following code below but it does not seem to be applying any sort of delay. Can anyone advise me of what I am doing wrong?     
$("#globe").on('ended',function() {
  setTimeout(
    $('.faculty-info').addClass('cbp-spmenu-open'), 
    5000);
});
 
     
     
     
    