Fixed type-o
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
dd94173334
commit
8cbf34c13e
@ -1249,9 +1249,9 @@
|
|||||||
if (!this.thumbnails.length) {
|
if (!this.thumbnails.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var photo = this.thumbnails[Math.floor(this.thumbnails.length * Math.random())];
|
var photo = this.thumbnails[Math.floor(this.thumbnails.length * Math.random())].item;
|
||||||
this.$.kenBurns.item = photo.item;
|
this.$.kenBurns.item = photo;
|
||||||
this.$.kenBurns.src = this.base + photo.item.path + "thumbs/scaled/" + photo.item.filename;
|
this.$.kenBurns.src = this.base + photo.path + "thumbs/scaled/" + photo.filename;
|
||||||
var datetime = (photo.taken || photo.modified || photo.added).replace(/T.*/, "");
|
var datetime = (photo.taken || photo.modified || photo.added).replace(/T.*/, "");
|
||||||
this.slideshowInfo = "In the year of " + datetime.replace(/(....).*/, "$1");
|
this.slideshowInfo = "In the year of " + datetime.replace(/(....).*/, "$1");
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user