open item directly
This commit is contained in:
parent
856d12a90d
commit
7a1da35f34
1 changed files with 3 additions and 6 deletions
|
|
@ -146,12 +146,9 @@ pandora.ui.previewPlayer = function() {
|
|||
that.close();
|
||||
},
|
||||
open: function() {
|
||||
$player.options({paused: true});
|
||||
var url = document.location.protocol + '//'
|
||||
+ document.location.hostname + '/'
|
||||
+ options.item + '/'
|
||||
+ Ox.formatDuration($player.options('position'));
|
||||
pandora.openURL(url);
|
||||
pandora.UI.set({
|
||||
item: options.item
|
||||
});
|
||||
},
|
||||
position: function(data) {
|
||||
pandora.UI.set(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue