dont use window.top, throws security exception

This commit is contained in:
j 2013-12-23 14:51:46 +00:00
commit 941c4f9759
2 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ pandora.ui.embedPlayer = function() {
+ document.location.hostname + '/'
+ options.item + '/'
+ Ox.formatDuration($player.options('position'));
window.top.open(url, '_blank');
window.open(url, '_blank');
},
playing: function(data) {
setPosition(data.position, true);