Skip to content

Commit 9418a19

Browse files
committed
Added window prefix
1 parent c2c598e commit 9418a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function addtrophy(icon, name, msg)
158158
break;
159159
}
160160

161-
localStorage['OS13kTrophy,'+emoji+',Coding Golf,'+name]=msg;
161+
window.localStorage['OS13kTrophy,'+emoji+',Coding Golf,'+name]=msg;
162162
}
163163

164164
catch (e) {}

0 commit comments

Comments
 (0)