summaryrefslogtreecommitdiff
path: root/js/settings.js
diff options
context:
space:
mode:
authorMichael Walker <mike@barrucadu.co.uk>2014-05-05 20:51:51 +0100
committerMichael Walker <mike@barrucadu.co.uk>2014-05-05 20:51:51 +0100
commit54fdd54e8953c49fc2360af082f8ba3c4f5fc2a2 (patch)
treec6923437891deaf6c82aef37c929d93d6d786643 /js/settings.js
parent97cfec836bcb60a3f781ea459100a9610aac6f2a (diff)
Make the delays configurable in settings.js
Diffstat (limited to 'js/settings.js')
-rw-r--r--js/settings.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/settings.js b/js/settings.js
index 6db9df9f..cb6bf770 100644
--- a/js/settings.js
+++ b/js/settings.js
@@ -51,3 +51,15 @@ tb_settings['wpaint'] = {
// Canvas height
height: 250
};
+
+// auto-reload.js
+tb_settings['auto-reload'] = {
+ // Minimum delay before reloading the page when at the bottom
+ min_delay_bottom: 3000,
+ // Minimum delay before reloading the page when not at the bottom
+ min_delay_top: 10000,
+ // Maximum delay before reloading the page
+ max_delay: 600000,
+ //Delay to wait before reloading when the user scrolls to the bottom
+ quick_delay: 100
+};