Remove call to requestAnimationFrame (#53)

This commit is contained in:
Maxim Baz
2019-03-31 00:35:28 +01:00
committed by GitHub
parent a4bee5cac7
commit 5c9c6d89ec

View File

@@ -132,7 +132,6 @@
// There is likely a field asking for OTP code, so do not submit form just yet // There is likely a field asking for OTP code, so do not submit form just yet
password_inputs[1].select(); password_inputs[1].select();
} else { } else {
window.requestAnimationFrame(function() {
// try to locate the submit button // try to locate the submit button
var submit = find(SUBMIT_FIELDS, loginForm); var submit = find(SUBMIT_FIELDS, loginForm);
@@ -156,7 +155,6 @@
} }
} }
} }
});
} }
// finished filling things successfully // finished filling things successfully