fixed enter remove bug
This commit is contained in:
@@ -80,7 +80,7 @@ $(function () {
|
|||||||
if (e.keyCode == 27) {
|
if (e.keyCode == 27) {
|
||||||
$("#myModal").fadeOut(fadetime);
|
$("#myModal").fadeOut(fadetime);
|
||||||
$("#snackbar").attr("class", "");
|
$("#snackbar").attr("class", "");
|
||||||
} else if (e.keyCode == 13) {
|
} else if (e.keyCode == 13 && $('#myModal').is(':visible')) {
|
||||||
/*save course when hit enter*/
|
/*save course when hit enter*/
|
||||||
saveCourse();
|
saveCourse();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
|
||||||
"name": "UT Registration Plus",
|
"name": "UT Registration Plus",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"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",
|
||||||
|
|||||||
Reference in New Issue
Block a user