mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 09:49:46 +02:00
Merge branch '1614_fontFamily' of https://github.com/knsv/mermaid into 1542_take_two
This commit is contained in:
@@ -556,7 +556,7 @@ function initialize(options) {
|
||||
|
||||
// Handle legacy location of font-family configuration
|
||||
// console.warn('Conf - ', options.themeVariables.fontFamily);
|
||||
if (options.fontFamily) {
|
||||
if (options && options.fontFamily) {
|
||||
if (!options.themeVariables) {
|
||||
options.themeVariables = { fontFamily: options.fontFamily };
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user