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,7 +19068,9 @@ function () {
if (_this2.blockRefs.unshift(_this2.completedBlock) > 8) {
var toDelete = _this2.blockRefs.pop();
toDelete.remove();
if (toDelete) {
toDelete.remove();
}
}
_this2.blockList.insertBefore(completedBlock, _this2.blockList.firstChild);