mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
edit js/ditto
This commit is contained in:
+15
@@ -232,6 +232,21 @@ function router() {
|
||||
}, 200);
|
||||
}
|
||||
|
||||
if(location.hash==='' || location.hash===menu[0]){
|
||||
$('#pageup').style.display='none';
|
||||
}
|
||||
|
||||
if (location.hash===menu[(menu.length-1)]){
|
||||
$('pagedown').style.display='none';
|
||||
}
|
||||
|
||||
$('#pageup').on('click',function (){
|
||||
|
||||
});
|
||||
$('#pagedown').on('click',function (){
|
||||
|
||||
});
|
||||
|
||||
}).fail(function() {
|
||||
show_error();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user