From ad056abbafb4bcdd6a20d3ffddf2a59471a268a4 Mon Sep 17 00:00:00 2001 From: Emily Eisenberg Date: Fri, 12 Sep 2014 15:38:48 -0700 Subject: [PATCH] Fix undefined maxFontSize Fix getting a NaN maxFontSize in makeVList because symbolNodes don't have a maxFontSize property. Test plan: - Make sure no huxley screenshots changed Auditors: alpert --- domTree.js | 1 + 1 file changed, 1 insertion(+) diff --git a/domTree.js b/domTree.js index fa890a42b..79a0ee22a 100644 --- a/domTree.js +++ b/domTree.js @@ -65,6 +65,7 @@ function symbolNode(value, height, depth, italic, classes, style) { this.italic = italic || 0; this.classes = classes || []; this.style = style || {}; + this.maxFontSize = 0; } symbolNode.prototype.toDOM = function() {