Browse Source

encode stats value

dev
xmcp 6 years ago
parent
commit
af32058e99
  1. 2
      public/index.html

2
public/index.html

@ -33,7 +33,7 @@
var config=JSON.parse(localStorage['hole_config']||'{}');
for(var key in config)
if(config.hasOwnProperty(key))
_czc.push(["_setCustomVar","config_"+key,JSON.stringify(config[key]),0]);
_czc.push(["_setCustomVar","config_"+key,encodeURIComponent(JSON.stringify(config[key])),0]);
} catch(e) {
console.trace(e);
}

Loading…
Cancel
Save