Skip to content

Commit

Permalink
added in base uri for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin Hayes committed Jul 2, 2014
1 parent 68beb88 commit 98fbd40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/evercookie.js
Expand Up @@ -484,7 +484,7 @@ try{
if (typeof ecApplet === "undefined") {
dtjava.embed({
id: "ecApplet",
url: _ec_asseturi + "/evercookie.jnlp",
url: _ec_baseurl + _ec_asseturi + "/evercookie.jnlp",
width: "1px",
height: "1px",
placeholder: "ecAppletContainer"
Expand Down Expand Up @@ -526,7 +526,7 @@ try{
params.swliveconnect = "true";
attributes.id = "myswf";
attributes.name = "myswf";
swfobject.embedSWF(_ec_asseturi + "/evercookie.swf", "swfcontainer", "1", "1", "9.0.0", false, flashvars, params, attributes);
swfobject.embedSWF(_ec_baseurl + _ec_asseturi + "/evercookie.swf", "swfcontainer", "1", "1", "9.0.0", false, flashvars, params, attributes);
};

this.evercookie_png = function (name, value) {
Expand Down Expand Up @@ -735,7 +735,7 @@ try{
* Ok. so, I tried doing this the proper dom way, but IE chokes on appending anything in object tags (including params), so this
* is the best method I found. Someone really needs to find a less hack-ish way. I hate the look of this shit.
*/
var source = _ec_asseturi + "/evercookie.xap",
var source = _ec_baseurl + _ec_asseturi + "/evercookie.xap",
minver = "4.0.50401.0",
initParam = "",
html;
Expand Down

0 comments on commit 98fbd40

Please sign in to comment.