mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
v2.21.0
This commit is contained in:
parent
c929033388
commit
a13bb9e930
9 changed files with 236 additions and 18 deletions
|
|
@ -23,7 +23,7 @@ const
|
|||
return new Promise((resolve, reject) => {
|
||||
const script = doc.createElement('script');
|
||||
script.onload = () => resolve();
|
||||
script.onerror = () => reject(new Error('Failed loading ' + src));
|
||||
script.onerror = () => reject('Failed loading ' + src);
|
||||
script.src = src;
|
||||
// script.async = true;
|
||||
doc.head.append(script);
|
||||
|
|
@ -46,7 +46,7 @@ window.rl = {
|
|||
},
|
||||
|
||||
setWindowTitle: title =>
|
||||
doc.title = RL_APP_DATA.Title ? (title ? title + ' - ' : '') + RL_APP_DATA.Title : (title ? '' + title : ''),
|
||||
doc.title = (title || '') + (RL_APP_DATA.Title ? (title ? ' - ' : '') + RL_APP_DATA.Title : ''),
|
||||
|
||||
initData: appData => {
|
||||
RL_APP_DATA = appData;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue