forked from DebaucheryLibrarian/traxxx
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user