diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2014-05-05 23:39:28 +0200 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2014-05-05 23:39:28 +0200 |
| commit | 7f725713a1616860e2a576310005c2b90d56fc98 (patch) | |
| tree | b46a7827598f5b2bc6c884e64f346c4569370f28 /js/settings.js | |
| parent | 8f021a35a6fb4ff68722e81ce4ff2a2758bdb575 (diff) | |
| parent | abaf80fd8ae1b7eea39894339e2af76e7d6c82d3 (diff) | |
Merge pull request #50 from Barrucadu/autoreload-cooldown
Autoreload cooldown
Diffstat (limited to 'js/settings.js')
| -rw-r--r-- | js/settings.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/settings.js b/js/settings.js index 6db9df9f..02d5658d 100644 --- a/js/settings.js +++ b/js/settings.js @@ -51,3 +51,17 @@ 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, + // Reset the delay to the minimum upon focussing the window. + reset_focus: true +}; |
