mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fix expire for prefs cookie
This commit is contained in:
parent
9239cfb3c1
commit
63be05146d
2 changed files with 28 additions and 3 deletions
|
@ -77,7 +77,7 @@
|
|||
<% else %>
|
||||
<div class="pure-u-1-3">
|
||||
<a href="/toggle_theme?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
|
||||
<% if env.get?("preferences").try &.as(Preferences).dark_mode %>
|
||||
<% if env.get("preferences").as(Preferences).dark_mode %>
|
||||
<i class="icon ion-ios-sunny"></i>
|
||||
<% else %>
|
||||
<i class="icon ion-ios-moon"></i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue