mirror of https://github.com/mue/mue.git
Fixed a bug that made the extension crash
This commit is contained in:
parent
114a34c95d
commit
479716d464
|
@ -29,6 +29,8 @@
|
|||
// further reading:
|
||||
// https://eloquentjavascript.net/05_higher_order.html
|
||||
|
||||
let nal = navigator.language;
|
||||
|
||||
function setDaytimeMessage () {
|
||||
if (nal === 'it' || nal === 'it-CH') itaMessageSet(); //Italian
|
||||
else if (nal === 'nl'|| nal === 'nl-BE') nlMessageSet(); //Dutch
|
||||
|
|
Loading…
Reference in New Issue