summaryrefslogtreecommitdiffstats
path: root/js/app
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-18 20:02:40 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-18 20:02:40 +0200
commit8f35519c6f205ff5574aeece68fc93e2c779201b (patch)
tree96ab4868f8e39167ba842380d283b26356d88c9d /js/app
parent4588f3def9aca6c1988e56528d12304c23e76f44 (diff)
use config for scroll configs
Diffstat (limited to 'js/app')
-rw-r--r--js/app/Config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/app/Config.js b/js/app/Config.js
index b922e0aa1..c4d9d8ff2 100644
--- a/js/app/Config.js
+++ b/js/app/Config.js
@@ -23,6 +23,8 @@ app.config(function ($routeProvider, $provide, $httpProvider) {
$provide.constant('ITEM_BATCH_SIZE', 50); // how many items to autopage by
$provide.constant('BASE_URL', OC.generateUrl('/apps/news'));
$provide.constant('FEED_TYPE', feedType);
+ $provide.constant('MARK_READ_TIMEOUT', 0.5);
+ $provide.constant('SCROLL_TIMEOUT', 0.1);
// make sure that the CSRF header is only sent to the ownCloud domain
$provide.factory('CSRFInterceptor', function ($q, BASE_URL) {