Fixed pdf generation error for motion reason.
This commit is contained in:
parent
c4fe50b38d
commit
96d3b4178a
@ -660,7 +660,9 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
case "h6":
|
case "h6":
|
||||||
// Special case quick fix to handle the dirty HTML format*/
|
// Special case quick fix to handle the dirty HTML format*/
|
||||||
// see following issue: https://github.com/OpenSlides/OpenSlides/issues/3025
|
// see following issue: https://github.com/OpenSlides/OpenSlides/issues/3025
|
||||||
if (lineNumberMode === "outside") {
|
if (lineNumberMode === "outside" &&
|
||||||
|
element.childNodes.length > 0 &&
|
||||||
|
element.childNodes[0].getAttribute) {
|
||||||
var HeaderOutsideLineNumber = {
|
var HeaderOutsideLineNumber = {
|
||||||
width: 20,
|
width: 20,
|
||||||
text: element.childNodes[0].getAttribute("data-line-number"),
|
text: element.childNodes[0].getAttribute("data-line-number"),
|
||||||
|
Loading…
Reference in New Issue
Block a user