aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/optional/sugar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/optional/sugar.js b/src/modules/optional/sugar.js
index c05512d..7aba0f7 100644
--- a/src/modules/optional/sugar.js
+++ b/src/modules/optional/sugar.js
@@ -136,6 +136,7 @@ registerMethods([ 'Element', 'Runner' ], {
font: function (a, v) {
if (typeof a === 'object') {
for (v in a) this.font(v, a[v])
+ return this
}
return a === 'leading'