From 4c95d33ba25f52892b31c22c4c546a61e4f0136d Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 29 Apr 2014 10:51:47 +0800 Subject: [PATCH] edit ditto.js --- js/ditto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ditto.js b/js/ditto.js index 4f190c1..ce1965e 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -218,7 +218,7 @@ function router() { })(); })(); - if(location.hash === ''){ + if(location.hash !== ''){ $('html, body').animate({ scrollTop: $('#content').offset().top }, 200);