Commit 5bfc7314 authored by Masayuki Tanaka's avatar Masayuki Tanaka Committed by masayuki

Fix tooltip data selection

parent 2f3366ad
...@@ -648,11 +648,12 @@ ...@@ -648,11 +648,12 @@
for (j = 0; j < selectedData.length; j++) { for (j = 0; j < selectedData.length; j++) {
if (selectedData[j].id === id) { if (selectedData[j].id === id) {
newData.push(selectedData[j]) newData.push(selectedData[j])
selectedData.shift(j)
break break
} }
} }
} }
selectedData = newData selectedData = newData.concat(selectedData) // Add remained
} }
// Expand circles if needed // Expand circles if needed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment