1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit js/ditto

This commit is contained in:
ruanyf 2014-04-29 22:44:22 +08:00
parent 3592cda3d6
commit 091094a92a

View File

@ -233,11 +233,11 @@ function router() {
} }
if(location.hash==='' || location.hash===menu[0]){ if(location.hash==='' || location.hash===menu[0]){
$('#pageup').style.display='none'; $('#pageup').css('display','none');
} }
if (location.hash===menu[(menu.length-1)]){ if (location.hash===menu[(menu.length-1)]){
$('pagedown').style.display='none'; $('#pagedown').css('display','none');
} }
$('#pageup').on('click',function (){ $('#pageup').on('click',function (){