Pull requests

#160 Merged
Repository
lidavidm lidavidm
Branch
default
Repository
birkenfeld birkenfeld
Branch
default

Sidebar: correctly restores open/closed state

Author
  1. David Li
Reviewers
Description

The sidebar used a cookie to preserve its state but didn't strip leading spaces from the cookie key, thus the sidebar would appear to "forget" whether it was open or closed because it was expecting 'sidebar' but instead found ' sidebar'. This PR changes it so it strips spaces first.

Comments (1)