diff --git a/Bootstrap.Admin/Content/js/common-scripts.js b/Bootstrap.Admin/Content/js/common-scripts.js index 39bc6f59..65f72c9e 100644 --- a/Bootstrap.Admin/Content/js/common-scripts.js +++ b/Bootstrap.Admin/Content/js/common-scripts.js @@ -16,7 +16,7 @@ if (breadcrumb === "") $('.breadcrumb > li + li').hide(); else $('.breadcrumb > li + li').text(breadcrumb); - $(".go-top").click(function (e) { + $("#gotoTop").on('click', function (e) { e.preventDefault(); $('#main-content, .content-body, body').animate({ scrollTop: 0 diff --git a/Bootstrap.Admin/Views/Shared/Footer.cshtml b/Bootstrap.Admin/Views/Shared/Footer.cshtml index 41ad3bfe..70299c6a 100644 --- a/Bootstrap.Admin/Views/Shared/Footer.cshtml +++ b/Bootstrap.Admin/Views/Shared/Footer.cshtml @@ -2,7 +2,7 @@