Changed time_factor to 0.5, changed the stored tweets to 1000, changed the displayed tweets to 100

This commit is contained in:
2022-11-04 13:40:06 +01:00
parent a5d809eacc
commit bdc587901b
5 changed files with 6 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ var process_entities = function(message, entities) {
block.fn.tweets = function(config) {
var options = $.extend({
memory: 20
memory: 100
}, config);
// store list for later
@@ -81,7 +81,7 @@ block.fn.tweets = function(config) {
tweets = window.sessionStorage.getItem('tweets');
tweets = JSON.parse(tweets);
tweets.push(tweet);
var localMemory = 100;
var localMemory = 1000;
if(tweets.length >= localMemory) {
tweets.shift();
}