|
@@ -5240,7 +5240,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
|
|
|
|
|
n.prototype.atEndOfTour = function(currentItem=this.currentItem) {
|
|
n.prototype.atEndOfTour = function(currentItem=this.currentItem) {
|
|
|
|
|
|
|
|
- var end = currentItem && currentItem[0] >= this.nItems - 1;
|
|
|
|
|
|
|
+ var end = this.model.heroLocations.length > 0 && currentItem && currentItem[0] >= this.nItems - 1;
|
|
|
if(end){
|
|
if(end){
|
|
|
var heroLocations = this.model.heroLocations[this.nItems-1].heroLocations
|
|
var heroLocations = this.model.heroLocations[this.nItems-1].heroLocations
|
|
|
if(heroLocations){
|
|
if(heroLocations){
|