open item on page
This commit is contained in:
parent
fac583b968
commit
6f920e7c93
1 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ Ox.load('UI', {
|
|||
.bindEvent({
|
||||
open: function() {
|
||||
pandora.$player.options({paused: true});
|
||||
var url = document.location.protocol
|
||||
+ '//' + document.location.hostname
|
||||
+ '/' + options.item + '/'
|
||||
+ Ox.formatDuration(pandora.$player.options('position'));
|
||||
window.open(url, '_blank');
|
||||
},
|
||||
playing: checkRange,
|
||||
position: checkRange,
|
||||
|
|
Loading…
Reference in a new issue