some more fixes

This commit is contained in:
rolux 2011-08-19 20:38:19 +00:00
parent 8cd2e78abc
commit 0f1f3cc81b
2 changed files with 5 additions and 0 deletions

View file

@ -109,6 +109,9 @@ pandora.URL = (function() {
update: function() {
var oldUserUI = Ox.clone(pandora.user.ui);
Ox.Request.cancel();
$('video').each(function() {
$(this).trigger('ended');
});
this.parse();
if (pandora.user.ui.section != oldUserUI.section) {
pandora.$ui.appPanel.replaceElement(1, pandora.$ui.mainPanel = pandora.ui.mainPanel());

View file

@ -268,6 +268,8 @@ pandora.ui.list = function() { // fixme: remove view argument
$video.addClass('OxSelectedVideo');
}, 300);
}
} else {
$('.OxSelectedVideo').removeClass('OxSelectedVideo');
}
}
});