update embed url formatting

This commit is contained in:
rolux 2013-07-12 12:32:02 +02:00
parent 9e20e8d06a
commit 0a2e07f338

View file

@ -6,7 +6,7 @@ pandora.ui.embedVideoDialog = function() {
var width = 640,
height = 360,
url = document.location.href + (
document.location.hash ? '?embed=true' : '#?embed=true'
document.location.hash ? 'embed' : '#embed'
),
$content = Ox.Element()