publish: Change main live canvas to act like a mempool

generated from commit 66283fcfe2
This commit is contained in:
Joshua Seigler 2019-04-08 10:37:29 -04:00
parent ca30dca443
commit 44f32dc49c
2 changed files with 4 additions and 2 deletions

View file

@ -19068,8 +19068,10 @@ function () {
if (_this2.blockRefs.unshift(_this2.completedBlock) > 8) { if (_this2.blockRefs.unshift(_this2.completedBlock) > 8) {
var toDelete = _this2.blockRefs.pop(); var toDelete = _this2.blockRefs.pop();
if (toDelete) {
toDelete.remove(); toDelete.remove();
} }
}
_this2.blockList.insertBefore(completedBlock, _this2.blockList.firstChild); _this2.blockList.insertBefore(completedBlock, _this2.blockList.firstChild);
}); });

File diff suppressed because one or more lines are too long