forked from 0x2620/pandora
minor reformatting
This commit is contained in:
parent
aecfd18a01
commit
eee30d74d8
1 changed files with 3 additions and 3 deletions
|
@ -62,9 +62,9 @@ Ox.load('UI', {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
open: function() {
|
open: function() {
|
||||||
pandora.$player.options({paused: true});
|
pandora.$player.options({paused: true});
|
||||||
var url = document.location.protocol
|
var url = document.location.protocol + '//'
|
||||||
+ '//' + document.location.hostname
|
+ document.location.hostname + '/'
|
||||||
+ '/' + options.item + '/'
|
+ options.item + '/'
|
||||||
+ Ox.formatDuration(pandora.$player.options('position'));
|
+ Ox.formatDuration(pandora.$player.options('position'));
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue