keyboard command on ut planner, updated version num

This commit is contained in:
sghsri
2019-10-16 13:44:23 -05:00
parent cfd6c71f40
commit dd3d9fcbae
3 changed files with 12 additions and 4 deletions

View File

@@ -52,10 +52,10 @@ class Text {
"You've Yee'd Your Last Haw.", "lol everything is already waitlisted.", "At Least You're Not At A&M.",
`It's ${moment().format("h:mm")} and OU Still Sucks.`, 'TeXAs iS BaCK GuYZ', "'Academically Challenged'",
'Does McCombs teach Parseltongue?', 'Lets make Daddy Fenves proud.', 'Feel bad if you say Wampus.', 'No Cruce Enfrente Del Bus.',
'Midterm 1 has been Unmuted', 'Omae Wa Mou Shindeiru...', 'Bevo Bucks are the new Bitcoin'
'Midterm 1 has been Unmuted', 'Omae Wa Mou Shindeiru...', 'Bevo Bucks are the new Bitcoin', 'Subway Robber > Machete Guy', ':'
]
let index = Math.floor(Math.random() * arr.length);
return arr[index];
}
}
}

View File

@@ -232,3 +232,11 @@ function close() {
$("#myModal").fadeOut(Timing.fade_time);
$("#snackbar").attr("class", "");
}
$(document).keydown(function (e) {
/*Close Modal when hit escape*/
if (e.keyCode == 27) {
close();
}
});