fix for fullscreen vs. back button

This commit is contained in:
rolux 2011-11-02 20:53:21 +00:00
parent 2101548d74
commit 831f3c8155

View file

@ -344,6 +344,14 @@ pandora.URL = (function() {
window.onpopstate = function(e) {
Ox.Request.cancel();
self.isPopState = true;
if (
pandora.user.ui.item
&& pandora.user.ui.itemView == 'video'
&& pandora.$ui.player.options('fullscreen')
) {
//pandora.$ui.player.options({fullscreen: false});
$('body > .OxVideoPlayer').remove();
}
if (!Ox.isEmpty(e.state)) {
Ox.print('E.STATE', e.state)
document.title = e.state.title;