From f070d7ff8e661188d8b5bb50aafbd008e1da304a Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 9 Nov 2017 09:05:26 +0800 Subject: [PATCH] Fix: indent of promises --- manage/manage.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manage/manage.js b/manage/manage.js index e0530711..0b1f41ae 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -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;