Skip to content

Commit c8a63e9

Browse files
committed
#1997 Slowly scroll to top when clicking "Install nopCommerce" button
1 parent a6c6839 commit c8a63e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Presentation/Nop.Web/Views/Install/Index.cshtml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
$(document).ready(function () {
6363
$('#installation-form').submit(function () {
6464
if ($('#installation-form').valid()) {
65+
$("html, body").animate({ scrollTop: 0 }, 400);
6566
window.setTimeout(function () {
6667
$(".throbber").show();
6768
}, 1000);

0 commit comments

Comments
 (0)