Scrolling content container instead of whole page. Improved title source in XEmpire scraper. Fixed scene page breaking when no photos are available.

This commit is contained in:
2019-09-25 01:38:06 +02:00
parent 52aff6d20c
commit 05263a97ea
5 changed files with 26 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ function scrollBanner(event) {
}
function photos() {
if (this.release) {
if (this.release && this.release.photos.length) {
if (this.release.photos[0].role === 'poster') {
return this.release.photos.slice(1);
}