Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit 01347e3

Browse files
committed
Run prettier
1 parent 57e017d commit 01347e3

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

chrome/background.browserify.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ function onMessage(request, sender, sendResponse) {
7676
) {
7777
// do not send login data to page if URL changed during search.
7878
if (tabs[0].url == request.urlDuringSearch) {
79-
var autoSubmit = response.hasOwnProperty('autoSubmit') ? response.autoSubmit : getSettings().autoSubmit;
79+
var autoSubmit = response.hasOwnProperty("autoSubmit")
80+
? response.autoSubmit
81+
: getSettings().autoSubmit;
8082
fillLoginForm(response, tabs[0], autoSubmit);
8183
}
8284
});
@@ -114,9 +116,10 @@ function onMessage(request, sender, sendResponse) {
114116
text = response.u;
115117
} else if (request.what === "otp") {
116118
if (!response.digits) {
117-
sendResponse({status: "ERROR", error:
118-
"Unable to determine the OTP code for this entry."
119-
});
119+
sendResponse({
120+
status: "ERROR",
121+
error: "Unable to determine the OTP code for this entry."
122+
});
120123
return;
121124
}
122125
text = response.digits;

chrome/script.browserify.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ function view() {
9595
tabindex: -1
9696
}),
9797
m("button.copy.otp", {
98-
onclick: loginToClipboard.bind({ entry: login, what: "otp" }),
99-
title: "Copy OTP code",
100-
tabindex: -1
98+
onclick: loginToClipboard.bind({ entry: login, what: "otp" }),
99+
title: "Copy OTP code",
100+
tabindex: -1
101101
})
102102
]);
103103
});

chrome/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ body {
8383
}
8484

8585
.otp {
86-
background: no-repeat url('icon-otp.svg') center;
86+
background: no-repeat url("icon-otp.svg") center;
8787
background-size: 16px 16px;
8888
}
8989

0 commit comments

Comments
 (0)