diff --git a/src/core/xfa/template.js b/src/core/xfa/template.js index 1bdbf773bb0a1..093d7eb1a735c 100644 --- a/src/core/xfa/template.js +++ b/src/core/xfa/template.js @@ -176,7 +176,7 @@ function handleBreak(node) { if (!target) { return false; } - target = target ? target[0] : target; + target = target[0]; } const { currentPageArea, currentContentArea } = root[$extra];