summaryrefslogtreecommitdiffstats
path: root/assets/js/themes.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/themes.js')
-rw-r--r--assets/js/themes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/themes.js b/assets/js/themes.js
index 826c6597..683aea39 100644
--- a/assets/js/themes.js
+++ b/assets/js/themes.js
@@ -7,7 +7,7 @@ toggle_theme.addEventListener('click', function () {
var url = '/toggle_theme?redirect=false';
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
- xhr.timeout = 20000;
+ xhr.timeout = 10000;
xhr.open('GET', url, true);
set_mode(dark_mode);