function loadPreview() {
    coverElement.classList.add("blank");
    coverElement.classList.add("fade-in");
    showElement(coverElement);
    showProgress(true);
    //We wait for a hash change here to trigger loading the image taken by the camera. If the url hash never changes we are stuck here
    readyForPreview = true;
  }
//Load image preview loading screen while we wait for the image to received
Load image preview loading screen while we wait for the image to received
Load image preview loading screen while we wait for the image to received
function loadPreview() {
    coverElement.classList.add("blank");
    coverElement.classList.add("fade-in");
    showElement(coverElement);
    showProgress(true);
    readyForPreview = true;
  }
function loadPreview ( ) { coverElement . classList . add ( "blank" ) ; coverElement . classList . add ( "fade-in" ) ; showElement ( coverElement ) ; showProgress ( true ) ; readyForPreview = true ; }
Load image preview loading screen while we wait for the image to received
Load image preview loading screen while we wait for the image to received
//We wait for a hash change here to trigger loading the image taken by the camera. If the url hash never changes we are stuck here