open item directly

This commit is contained in:
j 2026-01-15 16:52:43 +00:00
commit 7a1da35f34

View file

@ -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(