Skip to content

Commit b496c72

Browse files
committed
Remove checking event.preventDefault and calling event.returnValue. Related to issue angular#4557. Worked with @bullwrinkle on this.
1 parent d7ca753 commit b496c72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/form.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ var formDirectiveFactory = function(isNgForm) {
465465
// IE 9 is not affected because it doesn't fire a submit event and try to do a full
466466
// page reload if the form was destroyed by submission of the form via a click handler
467467
// on a button in the form. Looks like an IE9 specific bug.
468-
//
469-
// Checking event.preventDefault and calling event.returnValue were removed.
468+
//
469+
// Checking event.preventDefault and calling event.returnValue were removed.
470470
var handleFormSubmission = function(event) {
471471
scope.$apply(function() {
472472
controller.$commitViewValue();

0 commit comments

Comments
 (0)