Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
Dailymotion videos not refreshed after tab change
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Vollet committed Apr 2, 2013
1 parent 50c79ce commit 7c68778
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/sleek.desktop.js
Expand Up @@ -178,6 +178,9 @@ define([
if (section.collection.length) {
self.moveToList(container);
views.showChild(section.slug);
if (section.outputType === 'video') {
self.showList(section, container);
}
} else {
views.showChild(section.slug);
self.updateList(section, container);
Expand Down
3 changes: 3 additions & 0 deletions app/sleek.tablet.js
Expand Up @@ -180,6 +180,9 @@ define([
if (section.collection.length) {
self.moveToList(container);
views.showChild(section.slug);
if (section.outputType === 'video') {
self.showList(section, container);
}
} else {
views.showChild(section.slug);
self.updateList(section, container);
Expand Down

0 comments on commit 7c68778

Please sign in to comment.