This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Fixes removed event oldData items. (
#2535
)
fix2580
Zachariah Brown
7 years ago
committed by
yotamberk
parent
723f91a1ac
commit
70710f430b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/DataView.js
+ 1
- 1
lib/DataView.js
View File
@ -108,7 +108,7 @@ DataView.prototype.refresh = function () {
id
=
oldIds
[
i
]
;
if
(
!
newIds
[
id
]
)
{
removedIds
.
push
(
id
)
;
removedItems
.
push
(
this
.
_data
[
id
]
)
;
removedItems
.
push
(
this
.
_data
.
_data
[
id
]
)
;
delete
this
.
_ids
[
id
]
;
}
}
Write
Preview
Loading…
Cancel
Save