Fix linting
This commit is contained in:
parent
396870e507
commit
4956cf9d8d
|
@ -4,7 +4,7 @@ document.addEventListener('DOMContentLoaded', event => {
|
||||||
let delayFillTimeout: number;
|
let delayFillTimeout: number;
|
||||||
|
|
||||||
setInterval(() => doFillIfNeeded(), 500);
|
setInterval(() => doFillIfNeeded(), 500);
|
||||||
|
|
||||||
chrome.runtime.onMessage.addListener((msg: any, sender: any, sendResponse: Function) => {
|
chrome.runtime.onMessage.addListener((msg: any, sender: any, sendResponse: Function) => {
|
||||||
if (msg.command === 'fillForm' && pageHref === msg.url) {
|
if (msg.command === 'fillForm' && pageHref === msg.url) {
|
||||||
filledThisHref = true;
|
filledThisHref = true;
|
||||||
|
|
|
@ -266,7 +266,7 @@
|
||||||
<select id="autofillOnPageLoad" name="AutofillOnPageLoad" [(ngModel)]="cipher.login.autofillOnPageLoad">
|
<select id="autofillOnPageLoad" name="AutofillOnPageLoad" [(ngModel)]="cipher.login.autofillOnPageLoad">
|
||||||
<option *ngFor="let o of autofillOnPageLoadOptions" [ngValue]="o.value">{{o.name}}</option>
|
<option *ngFor="let o of autofillOnPageLoadOptions" [ngValue]="o.value">{{o.name}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<div class="box-footer">
|
||||||
<b>{{'warning' | i18n}}</b>: {{'experimentalFeature' | i18n}}
|
<b>{{'warning' | i18n}}</b>: {{'experimentalFeature' | i18n}}
|
||||||
|
|
|
@ -253,7 +253,7 @@ export default class AutofillService implements AutofillServiceInterface {
|
||||||
cipher = await this.cipherService.getLastUsedForUrl(tab.url, true);
|
cipher = await this.cipherService.getLastUsedForUrl(tab.url, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cipher === null) {
|
if (cipher == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue