v2019.08.17

This commit is contained in:
pypy
2019-08-17 04:26:54 +09:00
parent 35e7de03e4
commit 9eac705d07
+1 -5
View File
@@ -4267,11 +4267,7 @@ if (window.CefSharp) {
}; };
$app.methods.addFeed = function (type, ref, extra) { $app.methods.addFeed = function (type, ref, extra) {
var array = this.feedTable.data; this.feedTable.data.push({
if (array.length > 50000) {
array.length.splice(0, array.length - 10000);
}
array.push({
created_at: new Date().toJSON(), created_at: new Date().toJSON(),
type, type,
userId: ref.id, userId: ref.id,