Skip to content

Commit

Permalink
[de] Handle 'null' in documentLayout.headingsColor; Fix bug 73085
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Feb 4, 2025
1 parent d0f37e9 commit 0b9e1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/Native/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function NativeCreateApi(options)
Api = new window["Asc"]["asc_docs_api"](configApi);
if (options && options["documentLayout"] && undefined !== options["documentLayout"]["openedAt"])
Api.setOpenedAt(options["documentLayout"]["openedAt"]);
if (options && options["documentLayout"] && undefined !== options["documentLayout"]["headingsColor"])
if (options && options["documentLayout"] && options["documentLayout"]["headingsColor"])
{
if (window["AscWord"] && window["AscWord"]["setDefaultHeadingColorStr"])
window["AscWord"]["setDefaultHeadingColorStr"](options["documentLayout"]["headingsColor"]);
Expand Down

0 comments on commit 0b9e1e3

Please sign in to comment.