Add comment to await

This commit is contained in:
Gusted 2021-08-13 00:28:02 +02:00
parent 1e5f118d2d
commit af52e534bc
No known key found for this signature in database
GPG Key ID: FD821B732837125F

View File

@ -69,6 +69,7 @@ function SourceEditor() {
messageBoxProxy.alert(t('usercssAvoidOverwriting'), 'danger', t('genericError'));
} else {
res = await API.usercss.editSave({customName, enabled, id, sourceCode});
// Awaiting inside `try` so that exceptions go to our `catch`
await replaceStyle(res.style);
}
showLog(res);