Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yishn committed Dec 15, 2016
1 parent 8e945e0 commit c1706f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,8 @@ sabaki.useTool = function(vertex, tool = null, buttonIndex = 0) {

// Remove residue

k = node[ids[i]].indexOf(point)
let k = node[ids[i]].indexOf(point)

if (k >= 0) {
node[ids[i]].splice(k, 1)

Expand Down

0 comments on commit c1706f2

Please sign in to comment.