mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
fix variable name is MkMediaList
This commit is contained in:
parent
4c409dd6c6
commit
8a37ed668e
1 changed files with 3 additions and 3 deletions
|
@ -178,14 +178,14 @@ onMounted(() => {
|
||||||
textBox.className = 'pswp__alt-text _acrylic';
|
textBox.className = 'pswp__alt-text _acrylic';
|
||||||
el.appendChild(textBox);
|
el.appendChild(textBox);
|
||||||
|
|
||||||
pwsp.on('change', () => {
|
pswp.on('change', () => {
|
||||||
if (pwsp.currSlide?.data.comment) {
|
if (pswp.currSlide?.data.comment) {
|
||||||
textBox.style.display = '';
|
textBox.style.display = '';
|
||||||
} else {
|
} else {
|
||||||
textBox.style.display = 'none';
|
textBox.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
textBox.textContent = pwsp.currSlide?.data.comment;
|
textBox.textContent = pswp.currSlide?.data.comment;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue