mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
edit js/ditto
This commit is contained in:
parent
091094a92a
commit
97816c40e3
@ -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 (){
|
||||
|
Loading…
x
Reference in New Issue
Block a user