From 07d3bee9353512035bf9c5af4a6aaa60bcd52fad Mon Sep 17 00:00:00 2001 From: nobody <5514211-nobody42@users.noreply.gitlab.com> Date: Sun, 8 Mar 2020 16:57:20 +0100 Subject: [PATCH] Replaced innerHTML with textContent to remove warning of Mozillas add-on validation --- manifest.json | 2 +- pages/options/options.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 8bc87fe0..deb3fb8e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "LocalCDN (fork from Decentraleyes)", - "version": "2.1.1", + "version": "2.1.2", "author": "nobody", diff --git a/pages/options/options.js b/pages/options/options.js index 971c1649..457627e4 100644 --- a/pages/options/options.js +++ b/pages/options/options.js @@ -58,7 +58,7 @@ options._renderOptionsPanel = function () { options._renderLocaleNotice(); } - document.getElementById('last-mapping-update').innerHTML = lastMappingUpdate; + document.getElementById('last-mapping-update').textContent = lastMappingUpdate; }; options._renderBlockMissingNotice = function () {