mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 05:45:56 +00:00
prefs: code cleanup
This commit is contained in:
15
prefs.js
15
prefs.js
@@ -2,7 +2,6 @@ var xmlhttp = false;
|
||||
|
||||
var active_feed_cat = false;
|
||||
var active_tab = false;
|
||||
var feed_to_expand = false;
|
||||
|
||||
var xmlhttp = Ajax.getTransport();
|
||||
|
||||
@@ -54,20 +53,6 @@ function replace_pubkey_callback() {
|
||||
}
|
||||
}
|
||||
|
||||
function expand_feed_callback() {
|
||||
if (xmlhttp.readyState == 4) {
|
||||
try {
|
||||
var container = document.getElementById("BRDET-" + feed_to_expand);
|
||||
container.innerHTML=xmlhttp.responseText;
|
||||
// container.style.display = "block";
|
||||
Effect.Appear(container, {duration : 0.5});
|
||||
notify('');
|
||||
} catch (e) {
|
||||
exception_error("expand_feed_callback", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function feedlist_callback() {
|
||||
if (xmlhttp.readyState == 4) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user