fix typo in maxlinks plugin code
This commit is contained in:
parent
e793be9855
commit
b6ce79e323
@ -101,7 +101,7 @@ window.plugin.maxLinks.updateLayer = function() {
|
||||
drawLink(triangle.c,triangle.a);
|
||||
|
||||
// we only check the render limit after drawing all three edges of a triangle, for efficency
|
||||
if (drawnLinkCount > window.pligin.maxLinks.MAX_DRAWN_LINKS ) {
|
||||
if (drawnLinkCount > window.plugin.maxLinks.MAX_DRAWN_LINKS ) {
|
||||
window.plugin.maxLinks._renderLimitReached = true;
|
||||
return false; //$.each break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user