forked from 0x2620/oxjs
some redesign for better garbage collection of elements
This commit is contained in:
parent
01f02d9730
commit
1d09d19423
17 changed files with 129 additions and 101 deletions
|
|
@ -341,7 +341,7 @@ Ox.BlockTimeline = function(options, self) {
|
|||
}
|
||||
});
|
||||
while (self.$lines.length > self.lines) {
|
||||
self.$lines[self.$lines.length - 1].removeElement();
|
||||
self.$lines[self.$lines.length - 1].remove();
|
||||
self.$lines.pop();
|
||||
}
|
||||
setMarker();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue