lint: use strict

This commit is contained in:
John McLear 2021-02-17 14:55:54 +00:00
parent c64b1b8ead
commit 7c51446040
5 changed files with 11 additions and 3 deletions

View file

@ -1,4 +1,6 @@
(function (document) {
'use strict';
((document) => {
// Set language for l10n
let language = document.cookie.match(/language=((\w{2,3})(-\w+)?)/);
if (language) language = language[1];