Skip to content

Commit

Permalink
V12 Improve static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed Sep 13, 2018
1 parent 7dc701d commit 5645c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nouislider.js
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@
addClass(addTarget, options.cssClasses.vertical);
}

scope_Base = addNodeTo(addTarget, options.cssClasses.base);
return addNodeTo(addTarget, options.cssClasses.base);
}

function addTooltip(handle, handleNumber) {
Expand Down Expand Up @@ -2520,7 +2520,7 @@

// Create the base element, initialize HTML and set classes.
// Add handles and connect elements.
addSlider(scope_Target);
scope_Base = addSlider(scope_Target);
addElements(options.connect, scope_Base);

// Attach user events.
Expand Down

0 comments on commit 5645c70

Please sign in to comment.