Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 67c46ac

Browse files
committed
Update angular-confirm.js
1 parent d63a3a2 commit 67c46ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

angular-confirm.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ angular.module('angular-confirm', ['ui.bootstrap.modal'])
2929
};
3030

3131
$scope.cancel = function (dismissMessage) {
32-
if (angular.isUndefined(dismissMessage)) dismissMessage = 'cancel';
32+
if (angular.isUndefined(dismissMessage)) {
33+
dismissMessage = 'cancel';
34+
}
3335
$uibModalInstance.dismiss(dismissMessage);
3436
};
3537

0 commit comments

Comments
 (0)