1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:35:55 +00:00

css cleanup; remove auxDlg; add separate prefs.css

This commit is contained in:
Andrew Dolgov
2013-03-27 22:41:12 +04:00
parent 919984a436
commit f820f205d0
9 changed files with 141 additions and 211 deletions

View File

@@ -88,8 +88,6 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
_infscroll_request_sent = timestamp;
}
hideAuxDlg();
}
Form.enable("main_toolbar_form");
@@ -206,23 +204,6 @@ function request_counters(force) {
}
}
function displayNewContentPrompt(id) {
try {
var msg = "<a href='#' onclick='viewCurrentFeed()'>" +
__("New articles available in this feed (click to show)") + "</a>";
msg = msg.replace("%s", getFeedName(id));
$('auxDlg').innerHTML = msg;
new Effect.Appear('auxDlg', {duration : 0.5});
} catch (e) {
exception_error("displayNewContentPrompt", e);
}
}
function parse_counters(elems, scheduled_call) {
try {
for (var l = 0; l < elems.length; l++) {
@@ -245,10 +226,6 @@ function parse_counters(elems, scheduled_call) {
continue;
}
if (id == getActiveFeedId() && ctr > getFeedUnread(id) && scheduled_call) {
displayNewContentPrompt(id);
}
if (getFeedUnread(id, (kind == "cat")) != ctr ||
(kind == "cat")) {
}