Skip to content

Commit

Permalink
possible to cancel timer
Browse files Browse the repository at this point in the history
  • Loading branch information
ttyridal committed Mar 13, 2017
1 parent d1e40ef commit 5f4054f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/webextension/src/bg/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function find_active_input(tab) {
matchAboutBlank: true
}, ()=>{
if (good_response) return;
let to = window.setTimeout(()=>{
to = window.setTimeout(()=>{
chrome.runtime.onMessage.removeListener(msgrecv);
f({name: 'update_pass_failed', message:"No password field found (timeout)"});
}, TIMEOUT);
Expand Down

0 comments on commit 5f4054f

Please sign in to comment.