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,7 +52,7 @@ class Text {
"You've Yee'd Your Last Haw.", "lol everything is already waitlisted.", "At Least You're Not At A&M.", "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'", `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.', '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); let index = Math.floor(Math.random() * arr.length);

View File

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

View File

@@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "UT Registration Plus", "name": "UT Registration Plus",
"version": "0.2.2.3", "version": "1.2.2.3",
"options_page": "options.html", "options_page": "options.html",
"description": "Improves the course registration process at the University of Texas at Austin!", "description": "Improves the course registration process at the University of Texas at Austin!",
"permissions": ["tabs", "permissions": ["tabs",