Skip to content

Commit

Permalink
add better quality img for anime page
Browse files Browse the repository at this point in the history
  • Loading branch information
aleganza committed Oct 14, 2023
1 parent 1f9e5ef commit e418fdf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/modules/anilist/anilistApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = class AniListAPI extends Requests {
duration
coverImage {
large
extraLarge
}
bannerImage
genres
Expand Down
2 changes: 1 addition & 1 deletion src/modules/frontend/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ module.exports = class Frontend {
const description = animeEntry.description
const status = animeEntry.status
const startDate = this.months[animeEntry.startDate.month] + " " + animeEntry.startDate.day + ", " + animeEntry.startDate.year
const cover = animeEntry.coverImage.large
const cover = animeEntry.coverImage.extraLarge
const banner = animeEntry.bannerImage
const genres = animeEntry.genres
const seasonYear = animeEntry.seasonYear
Expand Down
1 change: 0 additions & 1 deletion src/scripts/settingsScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ var sourceFlagRadios = document.querySelectorAll('input[name="flag"]')
Object.keys(sourceFlagRadios).forEach(radio => {
Object.values(sourceFlagRadios)[radio].addEventListener('click', (event) => {
store.set('source_flag', document.querySelector('input[name="flag"]:checked').value) // US, IT...
console.log(store.get('source_flag'))
})
})

Expand Down
4 changes: 0 additions & 4 deletions src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,6 @@ nav#nav-main {
height: 100%;
padding-left: 30px;
}

.settings-page .content .right #source-right-element {

}

.settings-page .content .right .toggler {
width: calc(100% - 100px);
Expand Down

0 comments on commit e418fdf

Please sign in to comment.