hide load progress
This commit is contained in:
parent
ad815c71ea
commit
2055d4a6dc
|
@ -227,6 +227,13 @@ function init() {
|
|||
hideOrShowFeeds(document, getCookie("ttrss_vf_hreadf") == 1);
|
||||
document.onkeydown = hotkey_handler;
|
||||
parent.setTimeout("timeout()", 0);
|
||||
|
||||
var o = parent.document.getElementById("overlay");
|
||||
|
||||
if (o) {
|
||||
o.style.display = "none";
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("feedlist/init", e);
|
||||
}
|
||||
|
|
16
tt-rss.css
16
tt-rss.css
|
@ -1015,3 +1015,19 @@ div.cdmContent a:hover {
|
|||
padding : 0px;
|
||||
font-size : x-small;
|
||||
}
|
||||
|
||||
#overlay {
|
||||
background : white;
|
||||
left : 0;
|
||||
top : 0;
|
||||
height : 100%;
|
||||
width : 100%;
|
||||
z-index : 100;
|
||||
position : absolute;
|
||||
}
|
||||
|
||||
#overlay_inner {
|
||||
font-weight : bold;
|
||||
text-align : center;
|
||||
margin : 10px;
|
||||
}
|
||||
|
|
|
@ -59,6 +59,8 @@
|
|||
|
||||
<body>
|
||||
|
||||
<div id="overlay"><div id="overlay_inner">Loading, please wait...</div></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
if (document.addEventListener) {
|
||||
document.addEventListener("DOMContentLoaded", init, null);
|
||||
|
|
Loading…
Reference in New Issue