diff --git a/www/common/sframe-app-framework.js b/www/common/sframe-app-framework.js index d4df1abbe..84e73db01 100644 --- a/www/common/sframe-app-framework.js +++ b/www/common/sframe-app-framework.js @@ -465,7 +465,7 @@ define([ if (data.type !== 'file') { console.log('unhandled embed type ' + data.type); return; } var privateDat = cpNfInner.metadataMgr.getPrivateData(); var origin = privateDat.fileHost || privateDat.origin; - var src = data.src = data.src.slice(0,1) === '/' ? data.src : origin + data.src; + var src = data.src = data.src.slice(0,1) === '/' ? origin + data.src : data.src; mediaTagEmbedder($(''), data); }