commit 3900936f63c2e95a1371759d2c8bc6e5fdaec110 parent fdebbe3a18838bb4b571fd7add288e9338a5cf10 Author: Kevin Barabash <kevinb7@gmail.com> Date: Fri, 16 Dec 2016 18:25:32 -0500 Merge pull request #586 from tabatkins/patch-1 Misspelled variable "candiate" Diffstat:
| M | src/buildHTML.js | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/buildHTML.js b/src/buildHTML.js @@ -463,11 +463,11 @@ groupTypes.genfrac = function(group, options) { var frac; if (ruleWidth === 0) { // Rule 15c - var candiateClearance = + var candidateClearance = (numShift - numer.depth) - (denom.height - denomShift); - if (candiateClearance < clearance) { - numShift += 0.5 * (clearance - candiateClearance); - denomShift += 0.5 * (clearance - candiateClearance); + if (candidateClearance < clearance) { + numShift += 0.5 * (clearance - candidateClearance); + denomShift += 0.5 * (clearance - candidateClearance); } frac = buildCommon.makeVList([