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:
parent
8deca4b878
commit
3592cda3d6
15
js/ditto.js
15
js/ditto.js
@ -232,6 +232,21 @@ function router() {
|
|||||||
}, 200);
|
}, 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() {
|
}).fail(function() {
|
||||||
show_error();
|
show_error();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user