mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-03 15:52:25 -06:00
fix little error
This commit is contained in:
parent
bfee7041c0
commit
3089ac3780
1 changed files with 3 additions and 3 deletions
|
|
@ -148,7 +148,7 @@ lightbox.on('uiRegister', function() {
|
||||||
// Link to parent status.
|
// Link to parent status.
|
||||||
el.href = pswp.currSlide.data.parentStatus;
|
el.href = pswp.currSlide.data.parentStatus;
|
||||||
break;
|
break;
|
||||||
case pswp.currSlide.data.element.dataset.pswpParentStatus:
|
case pswp.currSlide.data.element && pswp.currSlide.data.element.dataset.pswpParentStatus:
|
||||||
// Link to parent status.
|
// Link to parent status.
|
||||||
el.href = pswp.currSlide.data.element.dataset.pswpParentStatus;
|
el.href = pswp.currSlide.data.element.dataset.pswpParentStatus;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue