File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 < link rel ="icon " type ="image/png " sizes ="16x16 " href ="icons/transcriber/favicon-16x16.png ">
3434 < link rel ="icon " href ="icons/transcriber/favicon.ico ">
3535 < link href ="css/style.css " rel ="stylesheet " type ="text/css ">
36- < link rel ="manifest " href ="manifest.webmanifest ">
3736
3837
3938</ head >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ async function loadLexicon(language) {
5757 return lexiconInterface ;
5858 } catch ( error ) {
5959 console . error ( "Lexicon loading failed:" , error ) ;
60- throw error ;
60+ updateLoadingText ( "" , "" , "Failed to load lexicon" ) ;
6161 } finally {
6262 if ( worker ) {
6363 worker . terminate ( ) ;
Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ async function fetchWithCache(
555555
556556 let responseContent ;
557557
558- if ( contentType == "application/ zip") {
558+ if ( contentType && contentType . includes ( " zip") ) {
559559 responseContent = await newResponse . blob ( ) ;
560560 try {
561561 await localforage . setItem ( url , responseContent ) ;
You can’t perform that action at this time.
0 commit comments