aboutsummaryrefslogtreecommitdiffstats
path: root/js/i18n.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/i18n.js')
-rw-r--r--js/i18n.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/i18n.js b/js/i18n.js
index 1c8945f..cf27a69 100644
--- a/js/i18n.js
+++ b/js/i18n.js
@@ -17,7 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
- Home: https://libregit.spks.xyz/heckyel/ematrix
+ Home: https://gitlab.com/vannilla/ematrix
uMatrix Home: https://github.com/gorhill/uMatrix
*/
@@ -76,6 +76,9 @@
// Firefox extension validator warns if using a variable as
// argument for document.createElement().
// ηMatrix: is it important for us?
+ // ηMatrix (4.4.3 onwards): let's just use the variable and
+ // hope for the best, no need to have a redundant switch.
+ /*
switch (text) {
case 'b':
return document.createElement('b');
@@ -96,6 +99,8 @@
default:
break;
}
+ */
+ return document.createElement(text);
};
let safeTextToTextNode = function (text) {