Revert "Feature/csr 989"

This commit is contained in:
Leah Schumann 2023-01-03 09:57:06 -05:00 committed by GitHub
parent e3d8a1b4a1
commit 9656383bc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,21 +92,19 @@ export default {
removeLoader() {
this.$refs.buttonMain.removeLoader();
// Restore keyboard input after loader is removed
document.onkeydown = function (e) {
return true;
};
// Reset the button clicked flags
this.navigationButtonClicked = false;
},
buttonClick() {
if (!this.navigationButtonClicked) {
// Prevent keyboard input after button click
document.onkeydown = function (e) {
return false;
};
//prevent keyboard input after button click
document.onkeydown = function (e) {
return false;
};
if (!this.navigationButtonClicked) {
this.$emit("ForwardClicked");
this.forwardClicked = true;
}