minor reformatting

This commit is contained in:
rolux 2013-02-12 13:46:09 +05:30
parent aecfd18a01
commit eee30d74d8

View file

@ -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');
}, },