Skip to content

Commit cce08d8

Browse files
committed
fix js.
1 parent 2b3d2ca commit cce08d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_layouts/stdlib-reference.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
}
364364
// Restore scrollbar position.
365365
window.onbeforeunload = function() {
366-
window.name = tocColumn.scrollY.toString();
366+
window.name = (-tocInner.getBoundingClientRect().top).toString();
367367
};
368368
if (window.name != null)
369369
{

0 commit comments

Comments
 (0)