Merge pull request #21 from kaveet/patch-1
Fix reference to undefined variable
This commit is contained in:
commit
d15e590d9d
|
@ -26,7 +26,7 @@ $(document).ready(() => {
|
||||||
if ($figcaption) {
|
if ($figcaption) {
|
||||||
$(this).attr('alt', $figcaption.text())
|
$(this).attr('alt', $figcaption.text())
|
||||||
} else {
|
} else {
|
||||||
$this.attr('alt', '')
|
$(this).attr('alt', '')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue