edit js/ditto

This commit is contained in:
ruanyf
2014-04-29 22:39:09 +08:00
parent 8deca4b878
commit 3592cda3d6
+15
View File
@@ -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();