diff options
Diffstat (limited to 'lib/scripts/page.js')
-rw-r--r-- | lib/scripts/page.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/page.js b/lib/scripts/page.js index aadff8ecf..2332af4de 100644 --- a/lib/scripts/page.js +++ b/lib/scripts/page.js @@ -89,7 +89,7 @@ dw_page = { var $content = jQuery(jQuery(this).attr('href')) // Footnote text anchor .parent().siblings('.content').clone(); - if (!$content) { + if (!$content.length) { return; } |