Commit 485d1ddf authored by Fred Chasen's avatar Fred Chasen

Apply suggestion to src/modules/paged-media/footnotes.js

parent 92e42a66
Pipeline #717 passed with stage
in 3 minutes and 45 seconds
......@@ -158,7 +158,7 @@ class Footnotes extends Handler {
processFootnoteContainer(node) {
// Find the container
let element = node.parentElement;
let prevElement;
let prevElement = element;
// Walk up the dom until we find a container element
while (element) {
if (isContainer(element)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment