mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Improve scripts load system
This commit is contained in:
parent
58b9eed8e8
commit
72bf212f67
39 changed files with 916 additions and 411 deletions
|
|
@ -1419,7 +1419,7 @@
|
|||
aContent.push('' + sKey + '=' + sValue);
|
||||
});
|
||||
|
||||
$('#rl-head-viewport').attr('content', aContent.join(', '));
|
||||
$('#app-head-viewport').attr('content', aContent.join(', '));
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -1538,8 +1538,8 @@
|
|||
Utils.changeTheme = function (sValue, themeTrigger)
|
||||
{
|
||||
var
|
||||
oThemeLink = $('#rlThemeLink'),
|
||||
oThemeStyle = $('#rlThemeStyle'),
|
||||
oThemeLink = $('#app-theme-link'),
|
||||
oThemeStyle = $('#app-theme-style'),
|
||||
sUrl = oThemeLink.attr('href')
|
||||
;
|
||||
|
||||
|
|
@ -1576,7 +1576,7 @@
|
|||
{
|
||||
if (oThemeLink && oThemeLink[0] && (!oThemeStyle || !oThemeStyle[0]))
|
||||
{
|
||||
oThemeStyle = $('<style id="rlThemeStyle"></style>');
|
||||
oThemeStyle = $('<style id="app-theme-style"></style>');
|
||||
oThemeLink.after(oThemeStyle);
|
||||
oThemeLink.remove();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue