Skip to content

Commit d2cd3ef

Browse files
committed
Merge remote-tracking branch '36715/fixes-jquery-deprecated-call-while-validating-fields' into comm_voted
2 parents 190d65a + 0def96e commit d2cd3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,7 @@ define([
19861986
$('html, body').stop().animate({
19871987
scrollTop: firstActive.parent().offset().top - windowHeight / 2
19881988
});
1989-
firstActive.focus();
1989+
firstActive.trigger('focus');
19901990
}
19911991
}
19921992
});

0 commit comments

Comments
 (0)