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();
|
that.close();
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
$player.options({paused: true});
|
pandora.UI.set({
|
||||||
var url = document.location.protocol + '//'
|
item: options.item
|
||||||
+ document.location.hostname + '/'
|
});
|
||||||
+ options.item + '/'
|
|
||||||
+ Ox.formatDuration($player.options('position'));
|
|
||||||
pandora.openURL(url);
|
|
||||||
},
|
},
|
||||||
position: function(data) {
|
position: function(data) {
|
||||||
pandora.UI.set(
|
pandora.UI.set(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue