mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-19 07:19:53 +02:00
fix: theme toggle not saving correctly
This commit is contained in:
@@ -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