mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Fix for broken build
This commit is contained in:
parent
888b1fb021
commit
450d4b5a0a
@ -556,7 +556,7 @@ function initialize(options) {
|
|||||||
|
|
||||||
// Handle legacy location of font-family configuration
|
// Handle legacy location of font-family configuration
|
||||||
// console.warn('Conf - ', options.themeVariables.fontFamily);
|
// console.warn('Conf - ', options.themeVariables.fontFamily);
|
||||||
if (options.fontFamily) {
|
if (options && options.fontFamily) {
|
||||||
if (!options.themeVariables) {
|
if (!options.themeVariables) {
|
||||||
options.themeVariables = { fontFamily: options.fontFamily };
|
options.themeVariables = { fontFamily: options.fontFamily };
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user