From 4b80e161216f72db70e5b2f96cd65597d2706cf2 Mon Sep 17 00:00:00 2001 From: kilo Date: Sun, 3 Sep 2017 08:12:38 +0200 Subject: [PATCH] Fix wrong url for toggleTheme query (#1474) --- public/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/main.js b/public/js/main.js index d04465e9..ad59a331 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -184,7 +184,7 @@ function toggleTheme(e) { document.getElementById("theme").href = "/css/" + CurrentTheme + ".css"; if(UserID > 0 ){ - Query.Get("https://dev.pantsu.cat/dark", function(data) {}) + Query.Get("/dark", function(data) {}) //If user logged in, we're forced to go through this page in order to save the new user theme } else {