Commit 8eff5147 by Lynette Lizardo

Merge branch 'feature-WG-356' into feature-WG-357

parents e4e1d007 d2399289
......@@ -590,8 +590,12 @@ function init() {
window.onkeydown = (e) => {
console.log(e);
window.onkeydown = (e) => {
console.log(e);
if (!started_flag) {
if (searchStringInArray(`${e.key}`, keyArray) == true || e.ctrlKey && e.key) {
if (searchStringInArray(`${e.key}`, keyArray) == true || e.ctrlKey && e.key) {
console.log('Invalid key cannot Start');
} else {
started_flag = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment