From c9caf9d1f59f2eb9e6833757101ef7abd437a69a Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Sat, 19 Nov 2016 12:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E8=84=9A=E7=9A=84go?= =?UTF-8?q?totop=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Content/js/common-scripts.js | 2 +- Bootstrap.Admin/Views/Shared/Footer.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@