Make sure thumbnails isn't empty before dereferencing
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
88de1feeb4
commit
6e883c98fe
@ -315,7 +315,7 @@
|
||||
|
||||
triggerVisibilityChecks: function() {
|
||||
this.debounce("hide-or-show", function() {
|
||||
if (!this.thumbnails) {
|
||||
if (!this.thumbnails || !this.thumbnails.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user