Noticed that some of my values were coming back as scientific notation (ie 1.111111111 e47). In the mergeLinks() function, where value is being assigned, I cast both previousLink.value and currentLink.value to ints using parseInt, which seems to have fixed the issue.
Noticed that some of my values were coming back as scientific notation (ie 1.111111111 e47). In the mergeLinks() function, where value is being assigned, I cast both previousLink.value and currentLink.value to ints using parseInt, which seems to have fixed the issue.