Я думаю, что проблема с этим кодом bundle-trued_defer.js
// No tabs left to sho
this.activeTab_ = undefined;
Когда все изображения загружены, последней загруженной будет неопределенная страница.
Изменить это
if (tab.tab == this.activeTab_) {
// Removing the current active tab
if (this.tabs_[index]) {
// Show the tab to the right
this.activeTab_ = this.tabs_[index].tab;
} else if (this.tabs_[index - 1]) {
// Show a tab to the left
this.activeTab_ = this.tabs_[index - 1].tab;
} else {
// No tabs left to sho
this.activeTab_ = undefined;
}
this.setTabActive_(this.activeTab_);
}
К
if (tab.tab == this.activeTab_) {
// Removing the current active tab
if (this.tabs_[index]) {
// Show the tab to the right
this.activeTab_ = this.tabs_[index].tab;
} else if (this.tabs_[index - 1]) {
// Show a tab to the left
this.activeTab_ = this.tabs_[index - 1].tab;
} else {
// No tabs left to sho
this.activeTab_ = undefined;
}
if(this.activeTab_ !== undefined) {
this.setTabActive_(this.activeTab_);
}
}
С этим и проверьте, работает ли.