mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
new Error() to Error()
This commit is contained in:
parent
4303ee1908
commit
14bee5d3bd
7 changed files with 12 additions and 12 deletions
|
|
@ -211,7 +211,7 @@ export const
|
|||
script.remove();
|
||||
resolve();
|
||||
};
|
||||
script.onerror = () => reject(new Error('Language '+language+' failed'));
|
||||
script.onerror = () => reject(Error('Language '+language+' failed'));
|
||||
script.src = langLink(language, admin);
|
||||
// script.async = true;
|
||||
doc.head.append(script);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue