mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Small fixes
This commit is contained in:
parent
bd935eae32
commit
1623f515ff
10 changed files with 47 additions and 15 deletions
|
|
@ -89,17 +89,22 @@
|
|||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function __showError() {
|
||||
var oR = document.getElementById('rl-loading'),
|
||||
oL = document.getElementById('rl-loading-error');
|
||||
|
||||
if (oR) {oR.style.display = 'none';}
|
||||
if (oL) {oL.style.display = 'block';}
|
||||
if (window.SimplePace) {window.SimplePace.set(100);}
|
||||
}
|
||||
if (window.__RLBOOT) {
|
||||
window.__RLBOOT(function (bV) {
|
||||
if (!bV) {
|
||||
var oR = document.getElementById('rl-loading'),
|
||||
oL = document.getElementById('rl-loading-error');
|
||||
|
||||
if (oR) {oR.style.display = 'none';}
|
||||
if (oL) {oL.style.display = 'block';}
|
||||
if (window.SimplePace) {window.SimplePace.set(100);}
|
||||
__showError();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
__showError();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue