js/script.js
//  otherwise, update the viewDiv with the current entry information

otherwise, update the viewDiv with the current entry information
otherwise update the viewDiv with the current entry information
function updateViewDiv ( ) {
   if ( searchMode ) {
      lookForBooksMatching ( copyOfSelectedBook );
   } else {
      print ( makeTheHTMLforOneBook ( copyOfSelectedBook ) );
   }
}
function updateViewDiv ( ) { if ( searchMode ) { lookForBooksMatching ( copyOfSelectedBook ) ; } else { print ( makeTheHTMLforOneBook ( copyOfSelectedBook ) ) ; } }
otherwise, update the viewDiv with the current entry information
otherwise update the viewDiv with the current entry information