mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
lint fixes
This commit is contained in:
@@ -240,13 +240,17 @@ function initAutofill() {
|
||||
|
||||
totpPromise = self.totpService.isAutoCopyEnabled().then(function (enabled) {
|
||||
if (enabled) {
|
||||
/* jshint ignore:start */
|
||||
return self.totpService.getCode(login.totp);
|
||||
/* jshint ignore:end */
|
||||
}
|
||||
|
||||
return null;
|
||||
}).then(function (code) {
|
||||
if (code) {
|
||||
/* jshint ignore:start */
|
||||
self.utilsService.copyToClipboard(code);
|
||||
/* jshint ignore:end */
|
||||
}
|
||||
|
||||
return code;
|
||||
|
||||
Reference in New Issue
Block a user