diff --git a/src/js/page.js b/src/js/page.js index fc132af..14b0abc 100644 --- a/src/js/page.js +++ b/src/js/page.js @@ -26,7 +26,7 @@ $(document).ready(() => { if ($figcaption) { $(this).attr('alt', $figcaption.text()) } else { - $this.attr('alt', '') + $(this).attr('alt', '') } })