This commit is contained in:
rulingcom 2022-08-24 19:16:34 +08:00
parent 15fbcd8a53
commit dd72708b34
1 changed files with 0 additions and 1 deletions

View File

@ -752,7 +752,6 @@ function transdate(){
var topOffset = window.temp_scrollY + window.top_barrier_height; var topOffset = window.temp_scrollY + window.top_barrier_height;
var ele_offset = _this.offset().top - topOffset; var ele_offset = _this.offset().top - topOffset;
if(ele_offset < 0){ if(ele_offset < 0){
console.log(_this)
window.scroll(window.temp_scrollX, window.temp_scrollY + ele_offset); window.scroll(window.temp_scrollX, window.temp_scrollY + ele_offset);
window.temp_scrollY = Math.max(window.temp_scrollY + ele_offset, 0); window.temp_scrollY = Math.max(window.temp_scrollY + ele_offset, 0);
} }