Skip to content

Commit 5c7f225

Browse files
Merge pull request #5 from pborreli/patch-1
Fixed typo
2 parents 5134048 + 12ee89b commit 5c7f225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

particles.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ function launchParticlesJS(tag_id, params){
348348
dy_mouse = p1.y - pJS.interactivity.mouse.pos_y,
349349
dist_mouse = Math.sqrt(dx_mouse*dx_mouse + dy_mouse*dy_mouse);
350350

351-
/* Check distace between 2 particles + Check distance between 1 particle and mouse position */
351+
/* Check distance between 2 particles + Check distance between 1 particle and mouse position */
352352
if(dist <= pJS.particles.line_linked.distance && dist_mouse <= pJS.interactivity.mouse.distance && pJS.interactivity.status == 'mousemove'){
353353
/* Draw the line */
354354
var color_line = pJS.particles.line_linked.color_rgb_line;
@@ -452,4 +452,4 @@ window.particlesJS = function(tag_id, params){
452452
launchParticlesJS(tag_id, params);
453453
}
454454

455-
};
455+
};

0 commit comments

Comments
 (0)