diff --git a/~dev_rating/media/js/discipline/EditSettings.js b/~dev_rating/media/js/discipline/EditSettings.js
index 654d7e0e24435cb452bfff406f0844979305a7ec..113c37fd17678b5a30857c28a077de4e8ce8d60e 100644
--- a/~dev_rating/media/js/discipline/EditSettings.js
+++ b/~dev_rating/media/js/discipline/EditSettings.js
@@ -75,8 +75,9 @@ $(function() {
 				else if (data.success > 0) {
 					EventInspector_ShowMsg('Превышено максимальное кол-во баллов', 'error');
 					thisObj.parent().children('.ExamType[value="exam"]').removeAttr('disabled');
-					thisObj.parent().children('.ExamType[value="credit"]').removeAttr('disabled');
-					thisObj.parent().children('.ExamType[value="credit"]').prop('checked', true);
+					thisObj.parent().children('.ExamType[value="credit"]')
+						.removeAttr('disabled')
+						.prop('checked', true);
 				}
 				else EventInspector_ShowMsg('Ошибка: Изменение формы контроля', 'error');
 			}