aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/page.js')
-rw-r--r--lib/scripts/page.js2
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;
}