startup speed improvements
This commit is contained in:
parent
ed7f0ecd37
commit
cd1bb36d5b
|
@ -29,6 +29,7 @@ function viewNextFeedPage() {
|
||||||
function viewfeed(feed, subop, is_cat, offset) {
|
function viewfeed(feed, subop, is_cat, offset) {
|
||||||
try {
|
try {
|
||||||
if (is_cat == undefined) is_cat = false;
|
if (is_cat == undefined) is_cat = false;
|
||||||
|
if (subop == undefined) subop = '';
|
||||||
|
|
||||||
// if (!offset) page_offset = 0;
|
// if (!offset) page_offset = 0;
|
||||||
|
|
||||||
|
@ -208,6 +209,8 @@ function feedlist_init() {
|
||||||
|
|
||||||
hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);
|
hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);
|
||||||
|
|
||||||
|
setTimeout("timeout()", 5000);
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("feedlist/init", e);
|
exception_error("feedlist/init", e);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7033,7 +7033,7 @@
|
||||||
if (!$title)
|
if (!$title)
|
||||||
$title = getFeedTitle($link, $feed_id, false);
|
$title = getFeedTitle($link, $feed_id, false);
|
||||||
|
|
||||||
if (!$unread)
|
if ($unread === false)
|
||||||
$unread = getFeedUnread($link, $feed_id, false);
|
$unread = getFeedUnread($link, $feed_id, false);
|
||||||
|
|
||||||
$obj['id'] = 'FEED:' . $feed_id;
|
$obj['id'] = 'FEED:' . $feed_id;
|
||||||
|
|
Loading…
Reference in New Issue