From 4c9a56f4ccfc4cd30b3842c6ea7f891ea533e8dd Mon Sep 17 00:00:00 2001 From: compscifag Date: Fri, 28 May 2021 12:22:13 +0300 Subject: [PATCH] changed instance persistence to localstorage instead of cookies --- about.html | 55 ++++++++++++++++++++------------------ catalog.html | 2 +- js/cookie.js | 17 ------------ js/instance.js | 13 +++++++++ reader.html | 72 ++++++++++++++++++++++++++------------------------ search.html | 3 ++- title.html | 2 +- 7 files changed, 85 insertions(+), 79 deletions(-) delete mode 100644 js/cookie.js create mode 100644 js/instance.js diff --git a/about.html b/about.html index 120be80..6dd8a91 100644 --- a/about.html +++ b/about.html @@ -1,45 +1,50 @@ + Mangaloid - + - + +
-
-

Instance address:

- - - -

Current:

-
+
+

Instance address:

+ + + +

Current:

+

+
- + - + + \ No newline at end of file diff --git a/catalog.html b/catalog.html index 8d737ac..4bd3b48 100644 --- a/catalog.html +++ b/catalog.html @@ -41,7 +41,7 @@ - + - + + - - + } + + + + \ No newline at end of file diff --git a/search.html b/search.html index 3edf950..a52b4e0 100644 --- a/search.html +++ b/search.html @@ -72,10 +72,11 @@ + - +