mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Followup 83cc97994f
Fixes issues after a refactor in the linked commit.
We now pass `font` as an object to the preview JS
functions, so to get the proper font for the canvas
we need to do `font.label`.