fix isEmbedURL

This commit is contained in:
rolux 2013-02-21 16:06:49 +00:00
parent 65f04dfdbb
commit 50740476cb

View file

@ -1022,7 +1022,7 @@ pandora.isClipView = function(view, item) {
pandora.isEmbedURL = function(url) { pandora.isEmbedURL = function(url) {
var hash = Ox.parseURL(url).hash; var hash = Ox.parseURL(url).hash;
return hash.substr(0, 2) == '#?' return hash.substr(0, 2) == '#?'
&& Ox.unserialize(hash.substr(2)).embed === true && Ox.unserialize(hash.substr(2), true).embed === true
}; };
pandora.logEvent = function(data, event, element) { pandora.logEvent = function(data, event, element) {