Fix: indent of promises
This commit is contained in:
parent
5dd322e512
commit
f070d7ff8e
|
@ -363,9 +363,8 @@ Object.assign(handleEvent, {
|
|||
reason: 'update',
|
||||
});
|
||||
if (entry.updatedCode.usercssData) {
|
||||
onBackgroundReady().then(() =>
|
||||
BG.usercssHelper.save(request)
|
||||
);
|
||||
onBackgroundReady()
|
||||
.then(() => BG.usercssHelper.save(request));
|
||||
} else {
|
||||
// update everything but name
|
||||
request.name = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user