Skip to content

Commit

Permalink
Merge pull request #15 from Xarth-Mai/jellyfin
Browse files Browse the repository at this point in the history
Update ede.js
  • Loading branch information
Izumiko authored Nov 21, 2023
2 parents f4f8a73 + b7da93b commit fe0188d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions ede.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,6 @@
if (session != 1) {
animeName += ' ' + session;
}
} else if (item.Type == 'Movie') {
_id = item.Id;
animeName = item.Name;
episode = 'movie';
} else {
_id = item.Id;
animeName = item.Name;
Expand Down Expand Up @@ -706,7 +702,7 @@
comments: _comments,
engine: 'canvas',
});

wrapper.lastChild.style.position = 'absolute';
wrapper.lastChild.style.top = '18px';

Expand Down Expand Up @@ -801,8 +797,9 @@
)
.then(() => {
window.ede.loading = false;
if (document.getElementById('danmakuCtr').style.opacity != 1) {
document.getElementById('danmakuCtr').style.opacity = 1;
var danmakuCtr = document.getElementById('danmakuCtr');
if (danmakuCtr && danmakuCtr.style && danmakuCtr.style.opacity !== '1') {
danmakuCtr.style.opacity = 1;
}
});
}
Expand Down

0 comments on commit fe0188d

Please sign in to comment.