From 1aff9ad1621bc0ddd456e67fbdbeeacfe9de95c2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 2 Aug 2016 04:49:01 +0300 Subject: [PATCH] bugfix... Signed-off-by: Alex A. Naanou --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 160a200..00d7c30 100755 --- a/index.html +++ b/index.html @@ -213,7 +213,9 @@ $(() => { Wiki.__wiki_data = localStorage['wiki-data'] ? JSON.parse(localStorage['wiki-data']) : data - Wiki.__wiki_data.__proto__ = data + if(Wiki.__wiki_data !== data){ + Wiki.__wiki_data.__proto__ = data + } Wiki.location = localStorage['wiki-location'] || Wiki.location