Skip to content

Commit 3592cda

Browse files
committed
edit js/ditto
1 parent 8deca4b commit 3592cda

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

js/ditto.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,21 @@ function router() {
232232
}, 200);
233233
}
234234

235+
if(location.hash==='' || location.hash===menu[0]){
236+
$('#pageup').style.display='none';
237+
}
238+
239+
if (location.hash===menu[(menu.length-1)]){
240+
$('pagedown').style.display='none';
241+
}
242+
243+
$('#pageup').on('click',function (){
244+
245+
});
246+
$('#pagedown').on('click',function (){
247+
248+
});
249+
235250
}).fail(function() {
236251
show_error();
237252

0 commit comments

Comments
 (0)