Commit 5a75a28
committed
Fixed theme switcher bfcache handling.
Reloaded the theme setting from the cookie when the browser restores page state
from the backward/forward cache. This fixes a problem where a theme change on
one page appeared to be reverted when navigating via history buttons.1 parent a230fa9 commit 5a75a28
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
0 commit comments