Sfoglia il codice sorgente

chore(js-cli) remove test code from tauri.js template

Lucas 5 anni fa
parent
commit
bf3c5b0587
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      cli/tauri.js/templates/tauri.js

+ 1 - 1
cli/tauri.js/templates/tauri.js

@@ -389,7 +389,7 @@ document.addEventListener('error', function (e) {
       window.tauri.loadAsset(target.src, 'image')
         .then(img => {
           target.src = img
-        }).catch(alert)
+        })
       break
     }
     target = target.parentElement