mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
User background image optimization
This commit is contained in:
parent
98e110fcc7
commit
47cc73c992
8 changed files with 114 additions and 106 deletions
|
|
@ -12,6 +12,7 @@
|
|||
<meta http-equiv="refresh" content="0; URL=./?/BadBrowser" />
|
||||
<![endif]-->
|
||||
<script data-cfasync="false">
|
||||
window.__rlt__ = (new Date).getTime();
|
||||
if (!window.navigator || !window.navigator.cookieEnabled) {
|
||||
window.document.location.replace('./?/NoCookie');
|
||||
}
|
||||
|
|
@ -100,8 +101,10 @@
|
|||
.wait(function () {
|
||||
__simplePace(20);
|
||||
if (window.rainloopAppData['IncludeBackground']) {
|
||||
$('#rl-bg').attr('style', 'background-image: none !important;').backstretch(window.rainloopAppData['IncludeBackground'], {
|
||||
'fade': 1000
|
||||
$('#rl-bg').attr('style', 'background-image: none !important;').backstretch(
|
||||
window.rainloopAppData['IncludeBackground'].replace('{{USER}}',
|
||||
(window.__rlah ? window.__rlah() || '0' : '0')), {
|
||||
'fade': 100, 'centeredX': true, 'centeredY': true
|
||||
}).removeAttr('style');
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue