From d43f24ea918b81e92c3af0be518965e7e87c909f Mon Sep 17 00:00:00 2001 From: Tab Atkins Jr Date: Fri, 16 Dec 2016 13:12:45 -0800 Subject: [PATCH] Misspelled variable "candiate" All uses have the same misspelling, so this wasn't a functionality bug, but still better to have things spelled correctly in the source. ^_^ --- src/buildHTML.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/buildHTML.js b/src/buildHTML.js index 1f736c9..2d0d4ac 100644 --- 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([