Merge pull request #3374 from emanuelschuetze/fix-pdf-error-for-reason
Fixed pdf generation error for motion reason.
This commit is contained in:
commit
0f322720a4
@ -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