From 8d45eccd0dbddd329c32951e0d57bfe240ed49a1 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sun, 15 Jun 2014 20:16:43 -0700 Subject: [PATCH] Size wordbubbles to text --- moonlight/js/moonlight-skulk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index fdc092d..6cacc2e 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -635,7 +635,7 @@ function stringSize(str, font) height += 5 + o.height(); o.remove(); }, this); - return [Math.max(widths), height]; + return [Math.max.call(widths), height]; } var EffectSprite = function(game, x, y, key, frame, animation) {