mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Fix typo in team saving
This commit is contained in:
@@ -152,7 +152,7 @@ Storage.onMessage = function ($e) {
|
||||
Storage.loadPackedTeams(data.substr(1));
|
||||
Storage.saveTeams = function () {
|
||||
var packedTeams = Storage.packAllTeams(Storage.teams);
|
||||
Storage.postCrossOriginMessage('T' + packedteams);
|
||||
Storage.postCrossOriginMessage('T' + packedTeams);
|
||||
|
||||
// in Safari, cross-origin local storage is apparently treated as session
|
||||
// storage, so mirror the storage in the current origin just in case
|
||||
|
||||
Reference in New Issue
Block a user