Fix Query.Get error (#1447)
Cette révision appartient à :
Parent
3e04f16c21
révision
508c6fd578
1 fichiers modifiés avec 1 ajouts et 1 suppressions
|
@ -184,7 +184,7 @@ function toggleTheme(e) {
|
||||||
document.getElementById("theme").href = "/css/" + CurrentTheme + ".css";
|
document.getElementById("theme").href = "/css/" + CurrentTheme + ".css";
|
||||||
|
|
||||||
if(UserID > 0 ){
|
if(UserID > 0 ){
|
||||||
Query.Get("https://dev.pantsu.cat/dark")
|
Query.Get("https://dev.pantsu.cat/dark", function(data) {})
|
||||||
//If user logged in, we're forced to go through this page in order to save the new user theme
|
//If user logged in, we're forced to go through this page in order to save the new user theme
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Référencer dans un nouveau ticket