mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
🐛Fix level completions analytics string cache
This commit is contained in:
parent
c721d863f8
commit
9466cd7f74
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ try {
|
|||
return this.strings[parseInt(index)];
|
||||
}
|
||||
StringCache.prototype.set = function(str) {
|
||||
if (!this.hasOwnProperty(str)) {
|
||||
if (!this.lookup.hasOwnProperty(str)) {
|
||||
this.lookup[str] = this.strings.length;
|
||||
this.strings.push(str);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue