function afterPhotoTaken() {
    coverElement.removeEventListener(photobooth.animationEvent, afterPhotoTaken);
    coverElement.classList.remove("flash");
    hideElement(coverElement);
    loadPreview();
  }
//Picture flash is complete so clean up flash elements left behind
Picture flash is complete so clean up flash elements left behind
Picture flash is complete so clean up flash elements left behind
function afterPhotoTaken() {
    coverElement.removeEventListener(photobooth.animationEvent, afterPhotoTaken);
    coverElement.classList.remove("flash");
    hideElement(coverElement);
    loadPreview();
  }
function afterPhotoTaken ( ) { coverElement . removeEventListener ( photobooth . animationEvent , afterPhotoTaken ) ; coverElement . classList . remove ( "flash" ) ; hideElement ( coverElement ) ; loadPreview ( ) ; }
Picture flash is complete so clean up flash elements left behind
Picture flash is complete so clean up flash elements left behind