1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

context menus background

This commit is contained in:
Kyle Spearrin
2017-12-07 16:02:15 -05:00
parent a995454197
commit b51ea6e22d
3 changed files with 205 additions and 170 deletions

View File

@@ -104,7 +104,11 @@ export default class RuntimeBackground {
break;
case 'contextMenu':
clearTimeout(this.autofillTimeout);
this.pageDetailsToAutoFill.push({ frameId: sender.frameId, tab: msg.tab, details: msg.details });
this.pageDetailsToAutoFill.push({
frameId: sender.frameId,
tab: msg.tab,
details: msg.details,
});
this.autofillTimeout = setTimeout(async () => await this.autofillPage(), 300);
break;
default: