1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-29 09:07:11 +00:00

js: code cleanup

This commit is contained in:
Andrew Dolgov
2010-11-07 12:11:05 +03:00
parent b4fdbcf4b7
commit 50eefedbfd
8 changed files with 48 additions and 87 deletions

View File

@@ -44,16 +44,6 @@ function render_feedlist(data) {
}
}
function feedlist_callback2(transport) {
try {
console.log("feedlist_callback2");
if (!transport_error_check(transport)) return;
render_feedlist(transport.responseText);
} catch (e) {
exception_error("feedlist_callback2", e);
}
}
function viewNextFeedPage() {
try {
//if (!getActiveFeedId()) return;
@@ -112,7 +102,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
var date = new Date();
var timestamp = Math.round(date.getTime() / 1000);
console.log("<b>" + _infscroll_request_sent + " : " + timestamp + "</b>");
console.log(_infscroll_request_sent + " : " + timestamp);
if (_infscroll_request_sent && _infscroll_request_sent + 30 > timestamp) {
console.log("infscroll request in progress, aborting");