Updated.
This commit is contained in:
parent
15fbcd8a53
commit
dd72708b34
|
@ -752,7 +752,6 @@ function transdate(){
|
|||
var topOffset = window.temp_scrollY + window.top_barrier_height;
|
||||
var ele_offset = _this.offset().top - topOffset;
|
||||
if(ele_offset < 0){
|
||||
console.log(_this)
|
||||
window.scroll(window.temp_scrollX, window.temp_scrollY + ele_offset);
|
||||
window.temp_scrollY = Math.max(window.temp_scrollY + ele_offset, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue