fixed enter remove bug
This commit is contained in:
@@ -80,7 +80,7 @@ $(function () {
|
||||
if (e.keyCode == 27) {
|
||||
$("#myModal").fadeOut(fadetime);
|
||||
$("#snackbar").attr("class", "");
|
||||
} else if (e.keyCode == 13) {
|
||||
} else if (e.keyCode == 13 && $('#myModal').is(':visible')) {
|
||||
/*save course when hit enter*/
|
||||
saveCourse();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 2,
|
||||
|
||||
"name": "UT Registration Plus",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"options_page": "options.html",
|
||||
"description": "Improves the course registration process at the University of Texas at Austin!",
|
||||
"permissions": ["tabs",
|
||||
|
||||
Reference in New Issue
Block a user