1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 09:01:28 +00:00

update_daemon work, remove unneeded indexes, query optimizations

This commit is contained in:
Andrew Dolgov
2006-03-21 08:09:18 +01:00
parent ac92cb46be
commit 894ebcf5e9
6 changed files with 43 additions and 24 deletions

View File

@@ -178,7 +178,7 @@ function localHotkeyHandler(keycode) {
if (keycode == 82) { // r
return parent.scheduleFeedUpdate(true);
}
var f_doc = parent.frames["feeds-frame"].document;
var feedlist = f_doc.getElementById('feedList');
@@ -361,7 +361,10 @@ function catchupPage() {
function init() {
if (arguments.callee.done) return;
arguments.callee.done = true;
document.onkeydown = hotkey_handler;
if (parent.frames["feeds-frame"]) {
document.onkeydown = hotkey_handler;
}
var hw = document.getElementById("headlinesList").scrollHeight;
var pw = parent.document.getElementById("headlines").scrollHeight;