mirror of
https://github.com/rystaf/mlmym.git
synced 2024-12-29 03:53:46 +00:00
fix thumbnail default
This commit is contained in:
parent
3e1e3868f4
commit
d8292bb9be
|
@ -270,7 +270,7 @@ func Initialize(Host string, r *http.Request) (State, error) {
|
|||
if hide := getCookie(r, "HideThumbnails"); hide != "" {
|
||||
state.HideThumbnails = hide != "0"
|
||||
} else {
|
||||
state.HideThumbnails = os.Getenv("HIDE_THUMBNAILS") != "0"
|
||||
state.HideThumbnails = os.Getenv("HIDE_THUMBNAILS") != ""
|
||||
}
|
||||
state.ParseQuery(r.URL.RawQuery)
|
||||
if state.Sort == "" {
|
||||
|
|
Loading…
Reference in a new issue