Skip to content

Commit

Permalink
Fix error Episode selection #67
Browse files Browse the repository at this point in the history
  • Loading branch information
AN0NCER committed Nov 7, 2023
1 parent c5bfd12 commit e93922e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion javascript/pages/watch/mod_history.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ const _history = {
const history = this.get();
const { russian, screenshots } = this.shikiData;
const episode = cnt ? e + i : e + i;
let image = `${screenshots[0].original}`;
let image = "";
if (this.screenData?.length > 0) {
image = `${this.screenData[this.idImage].original}`;
}else{
image = `${screenshots[0].original}`;
}
const dub = Player().translation.name;
const type = this.shikiData.kind == "movie" ? "Фильм" : this.shikiData.kind == "ova" ? "OVA" : this.shikiData.kind == "ona" ? "ONA" : "Аниме";
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var version = '114';
var version = '115';
var cacheName = 'pwa-tunime-v' + version;
var appShellFilesToCache = [
// Директория: /images/icons
Expand Down

0 comments on commit e93922e

Please sign in to comment.