Make the delays configurable in settings.js

This commit is contained in:
Michael Walker 2014-05-05 20:51:51 +01:00
parent 97cfec836b
commit 54fdd54e89
2 changed files with 21 additions and 13 deletions

View file

@ -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
};