diff --git a/cli/tauri.js/templates/tauri.js b/cli/tauri.js/templates/tauri.js index 911ce6e8b..c73492909 100644 --- a/cli/tauri.js/templates/tauri.js +++ b/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