From 9fa4b77e7d1a587562ecb68af0ea4a3ec61a8b95 Mon Sep 17 00:00:00 2001 From: Swagatam Mitra Date: Fri, 7 Apr 2017 16:08:01 +0530 Subject: [PATCH] Fix font family name preference (#13279) --- src/view/ViewCommandHandlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/ViewCommandHandlers.js b/src/view/ViewCommandHandlers.js index e580fbb4946..82dba9bde20 100644 --- a/src/view/ViewCommandHandlers.js +++ b/src/view/ViewCommandHandlers.js @@ -189,7 +189,7 @@ define(function (require, exports, module) { * @param {string} fontFamily A string with the font family */ function _addDynamicFontFamily(fontFamily) { - _addDynamicProperty(DYNAMIC_FONT_STYLE_ID, { + _addDynamicProperty(DYNAMIC_FONT_FAMILY_ID, { propName: "font-family", propValue: fontFamily });