From 97816c40e3ceb7cb60dfee950fadf982fef6a050 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 29 Apr 2014 22:48:31 +0800 Subject: [PATCH] edit js/ditto --- js/ditto.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/ditto.js b/js/ditto.js index 9e6bd08..3866bb7 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -234,10 +234,14 @@ function router() { if(location.hash==='' || location.hash===menu[0]){ $('#pageup').css('display','none'); + }else{ + $('#pageup').css('display','inline-block'); } if (location.hash===menu[(menu.length-1)]){ $('#pagedown').css('display','none'); + }else{ + $('#pagedown').css('display','inline-block'); } $('#pageup').on('click',function (){