diff options
Diffstat (limited to 'lib/scripts')
-rw-r--r-- | lib/scripts/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 7e565e1cb..ddc88c728 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -352,7 +352,7 @@ function footnote(e){ if (!a){ return; } // anchor parent is the footnote container, get its innerHTML - var content = new String (a.parentNode.innerHTML); + var content = new String (a.parentNode.parentNode.innerHTML); // strip the leading content anchors and their comma separators content = content.replace(/<a\s.*?href=\".*\#fnt__\d+\".*?<\/a>/gi, ''); |