mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix grid scroll
This commit is contained in:
parent
add8a57238
commit
aea211570e
1 changed files with 2 additions and 2 deletions
|
@ -478,9 +478,9 @@
|
||||||
var tabContent = options.element;
|
var tabContent = options.element;
|
||||||
tabContent.innerHTML = Globalize.translateDocument(template);
|
tabContent.innerHTML = Globalize.translateDocument(template);
|
||||||
|
|
||||||
Events.on(tabContent.querySelector('.programGrid'), 'scroll', function () {
|
tabContent.querySelector('.programGrid').addEventListener('scroll', function (e) {
|
||||||
|
|
||||||
onProgramGridScroll(tabContent, this);
|
onProgramGridScroll(tabContent, e.target);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (browserInfo.mobile) {
|
if (browserInfo.mobile) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue