Skip to content

Commit a9a3bdc

Browse files
committed
menu visible on reload
1 parent d8746c3 commit a9a3bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/documentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function addScrollTopBehavior() {
397397
var sign = dy > 0 ? 1 : (dy < 0 ? -1 : 0);
398398
if (sign === 0) {
399399
// no movement: keep state, do not change accum
400-
return { visible: (lastVisible !== null ? lastVisible : false), atBottom: false, atTop: false, y: pos.y };
400+
return { visible: (lastVisible !== null ? lastVisible : true), atBottom: false, atTop: false, y: pos.y };
401401
}
402402
if (sign !== dirSign) {
403403
// direction changed: reset accumulator to current delta

0 commit comments

Comments
 (0)