Update index.html
Browse files- index.html +4 -5
index.html
CHANGED
|
@@ -746,7 +746,7 @@
|
|
| 746 |
'toast.deleted': 'Deleted',
|
| 747 |
'toast.cleared': 'All data cleared',
|
| 748 |
'toast.paramsSaved': 'Parameters applied',
|
| 749 |
-
'toast.timeout': '
|
| 750 |
'toast.error': 'Error occurred',
|
| 751 |
}
|
| 752 |
};
|
|
@@ -1335,10 +1335,9 @@
|
|
| 1335 |
}
|
| 1336 |
}
|
| 1337 |
} catch (err) {
|
| 1338 |
-
if (err.name === 'AbortError') {
|
| 1339 |
-
|
| 1340 |
-
|
| 1341 |
-
} else {
|
| 1342 |
updateLastMessage(fullContent + `\n\n> **Error:** ${escapeHtml(err.message)}`);
|
| 1343 |
showToast(err.message, 'error');
|
| 1344 |
}
|
|
|
|
| 746 |
'toast.deleted': 'Deleted',
|
| 747 |
'toast.cleared': 'All data cleared',
|
| 748 |
'toast.paramsSaved': 'Parameters applied',
|
| 749 |
+
'toast.timeout': '請求超時',
|
| 750 |
'toast.error': 'Error occurred',
|
| 751 |
}
|
| 752 |
};
|
|
|
|
| 1335 |
}
|
| 1336 |
}
|
| 1337 |
} catch (err) {
|
| 1338 |
+
if (err.name === 'AbortError') { updateLastMessage(fullContent + '
|
| 1339 |
+
|
| 1340 |
+
> **Request aborted/canceled**'); showToast('請求已取消', 'info'); } else {
|
|
|
|
| 1341 |
updateLastMessage(fullContent + `\n\n> **Error:** ${escapeHtml(err.message)}`);
|
| 1342 |
showToast(err.message, 'error');
|
| 1343 |
}
|