forked from 0x2620/pandora
merge
This commit is contained in:
commit
8325d0fc1a
1 changed files with 8 additions and 0 deletions
|
@ -344,6 +344,14 @@ pandora.URL = (function() {
|
||||||
window.onpopstate = function(e) {
|
window.onpopstate = function(e) {
|
||||||
Ox.Request.cancel();
|
Ox.Request.cancel();
|
||||||
self.isPopState = true;
|
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)) {
|
if (!Ox.isEmpty(e.state)) {
|
||||||
Ox.print('E.STATE', e.state)
|
Ox.print('E.STATE', e.state)
|
||||||
document.title = e.state.title;
|
document.title = e.state.title;
|
||||||
|
|
Loading…
Reference in a new issue