mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-05 14:36:36 +01:00
fix: theme toggle not saving correctly
This commit is contained in:
1 parent
d3f8a637bc
commit
2bc5e24e51
2 files changed
+4
-3
No files matched your search
@@ -145,7 +145,7 @@ def toggle_theme(request):
|
||||
elif request.session["theme"] == "wygiwyh_light":
|
||||
request.session["theme"] = "wygiwyh_dark"
|
||||
else:
|
||||
request.session["theme"] = "wygiwyh_dark"
|
||||
request.session["theme"] = "wygiwyh_light"
|
||||
|
||||
return HttpResponse(
|
||||
status=204,
|
||||
|
||||
Reference in new issue
Block a user