fix typo in maxlinks plugin code

This commit is contained in:
Jon Atkins 2013-08-28 06:02:51 +01:00
parent e793be9855
commit b6ce79e323

View File

@ -101,7 +101,7 @@ window.plugin.maxLinks.updateLayer = function() {
drawLink(triangle.c,triangle.a); drawLink(triangle.c,triangle.a);
// we only check the render limit after drawing all three edges of a triangle, for efficency // 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; window.plugin.maxLinks._renderLimitReached = true;
return false; //$.each break return false; //$.each break
} }