From 11533a168693bd31ed1b73ccb02e5b5062d53783 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sun, 30 Sep 2018 21:10:00 +0200 Subject: ... --- www/script/battles.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www/script/battles.js') diff --git a/www/script/battles.js b/www/script/battles.js index a5b5864..0040795 100644 --- a/www/script/battles.js +++ b/www/script/battles.js @@ -17,6 +17,12 @@ function (encoded_battles) localStorage.setItem("battles", encoded_battles); } +tacticians_online.battles.get_value = +function () +{ + return localStorage.getItem("battles"); +} + tacticians_online.battles.attach_to = function (app) { -- cgit v1.2.3-70-g09d2