Fix linting

This commit is contained in:
Thomas Rittson 2021-03-15 12:35:23 +10:00
parent 396870e507
commit 4956cf9d8d
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ document.addEventListener('DOMContentLoaded', event => {
let delayFillTimeout: number;
setInterval(() => doFillIfNeeded(), 500);
chrome.runtime.onMessage.addListener((msg: any, sender: any, sendResponse: Function) => {
if (msg.command === 'fillForm' && pageHref === msg.url) {
filledThisHref = true;

View File

@ -266,7 +266,7 @@
<select id="autofillOnPageLoad" name="AutofillOnPageLoad" [(ngModel)]="cipher.login.autofillOnPageLoad">
<option *ngFor="let o of autofillOnPageLoadOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
</div>
</div>
</div>
<div class="box-footer">
<b>{{'warning' | i18n}}</b>: {{'experimentalFeature' | i18n}}

View File

@ -253,7 +253,7 @@ export default class AutofillService implements AutofillServiceInterface {
cipher = await this.cipherService.getLastUsedForUrl(tab.url, true);
}
if (cipher === null) {
if (cipher == null) {
return null;
}
}