Revert "Feature/csr 989"
This commit is contained in:
parent
e3d8a1b4a1
commit
9656383bc3
1 changed files with 5 additions and 7 deletions
|
|
@ -92,21 +92,19 @@ export default {
|
||||||
removeLoader() {
|
removeLoader() {
|
||||||
this.$refs.buttonMain.removeLoader();
|
this.$refs.buttonMain.removeLoader();
|
||||||
|
|
||||||
// Restore keyboard input after loader is removed
|
|
||||||
document.onkeydown = function (e) {
|
document.onkeydown = function (e) {
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Reset the button clicked flags
|
|
||||||
this.navigationButtonClicked = false;
|
this.navigationButtonClicked = false;
|
||||||
},
|
},
|
||||||
buttonClick() {
|
buttonClick() {
|
||||||
if (!this.navigationButtonClicked) {
|
//prevent keyboard input after button click
|
||||||
// Prevent keyboard input after button click
|
document.onkeydown = function (e) {
|
||||||
document.onkeydown = function (e) {
|
return false;
|
||||||
return false;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
|
if (!this.navigationButtonClicked) {
|
||||||
this.$emit("ForwardClicked");
|
this.$emit("ForwardClicked");
|
||||||
this.forwardClicked = true;
|
this.forwardClicked = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue