| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-09-27 15:28:58 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-09-27 15:28:58 +0200 | 
| commit | 486ee1dbe21be962e89f421e1dd5f3cbb2fd2177 (patch) | |
| tree | 92e1751346a433ce0d4930f17867391982b84fb1 | |
| parent | 2aa0c12b6a193d16681a0179a067664390af7aee (diff) | |
...
| -rw-r--r-- | manifest.json | 7 | ||||
| -rw-r--r-- | src/Struct/Model.elm | 6 | ||||
| -rw-r--r-- | www/script/params.js | 4 | 
3 files changed, 8 insertions, 9 deletions
| diff --git a/manifest.json b/manifest.json index e3f369c..7e6c225 100644 --- a/manifest.json +++ b/manifest.json @@ -22,11 +22,6 @@     },     "background": { -      "scripts": -         [ -            "www/script/params.js", -            "www/script/main.js", -            "www/script/load.js" -         ] +      "page": "www/index.html"     }  } diff --git a/src/Struct/Model.elm b/src/Struct/Model.elm index dca14c2..6742e96 100644 --- a/src/Struct/Model.elm +++ b/src/Struct/Model.elm @@ -39,7 +39,11 @@ new flags =     {        flags = flags,        error = Nothing, -      players = (Array.fromList (Struct.Flags.get_players flags)), +      players = +         (Array.push +            (Struct.Player.default) +            (Array.fromList (Struct.Flags.get_players flags)) +         ),        query_index = -1,        notify = False     } diff --git a/www/script/params.js b/www/script/params.js index 803003c..de42e93 100644 --- a/www/script/params.js +++ b/www/script/params.js @@ -6,7 +6,7 @@ var tacticians_online = tacticians_online || new Object();  tacticians_online.params = new Object();  tacticians_online.params.private = new Object(); -tacticians_online.params.private.frequency = 15; +tacticians_online.params.private.frequency = 1;  tacticians_online.params.private.players = "";  tacticians_online.params.reset = @@ -26,7 +26,7 @@ function ()     if (tacticians_online.params.private.frequency == null)     { -      tacticians_online.params.private.frequency = 15; +      tacticians_online.params.private.frequency = 1;     }     if (tacticians_online.params.private.players == null) | 


