summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-10-01 12:53:24 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-10-01 12:53:24 +0200
commit612f46b26057409eecf93f5473f42bbd9ed7afe3 (patch)
tree3e8f3155859cafcb4f7bf1ce3de1e7caf277458d
parentb5bb4f45133e7d89fa85d185d13ec4c7c2ece887 (diff)
downloadtacticians-extension-612f46b26057409eecf93f5473f42bbd9ed7afe3.zip
tacticians-extension-612f46b26057409eecf93f5473f42bbd9ed7afe3.tar.bz2
...
-rw-r--r--manifest.json5
-rw-r--r--www/script/battles.js2
-rw-r--r--www/script/params.js2
3 files changed, 6 insertions, 3 deletions
diff --git a/manifest.json b/manifest.json
index 63af7cb..5c33ba0 100644
--- a/manifest.json
+++ b/manifest.json
@@ -13,7 +13,10 @@
"96": "images/to-favicon.svg"
},
- "permissions": [ ],
+ "permissions": [
+ "http://127.0.0.1/",
+ "https://*/"
+ ],
"browser_action": {
"default_icon": "images/to-favicon.svg",
diff --git a/www/script/battles.js b/www/script/battles.js
index 4f691f8..b579a0c 100644
--- a/www/script/battles.js
+++ b/www/script/battles.js
@@ -8,7 +8,7 @@ tacticians_online.battles = new Object();
tacticians_online.battles.get =
function ()
{
- tacticians_online.app.results_in.send(localStorage.getItem("battles"));
+ tacticians_online.app.ports.results_in.send(localStorage.getItem("battles"));
}
tacticians_online.battles.set =
diff --git a/www/script/params.js b/www/script/params.js
index b453b08..13eacd8 100644
--- a/www/script/params.js
+++ b/www/script/params.js
@@ -8,7 +8,7 @@ tacticians_online.params = new Object();
tacticians_online.params.get =
function ()
{
- tacticians_online.app.params_in.send(localStorage.getItem("params"));
+ tacticians_online.app.ports.params_in.send(localStorage.getItem("params"));
}
tacticians_online.params.set =