Update main.js
Cette révision appartient à :
Parent
38061f3521
révision
b1ee08c7ee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
|
@ -219,7 +219,7 @@ function toggleTheme(e) {
|
||||||
document.getElementById("theme").href = "/css/themes/" + CurrentTheme + ".css";
|
document.getElementById("theme").href = "/css/themes/" + CurrentTheme + ".css";
|
||||||
|
|
||||||
if(UserID > 0 ){
|
if(UserID > 0 ){
|
||||||
Query.Get("/dark", function(data) {})
|
Query.Get("/dark?no_redirect=true", 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