prefs: code cleanup
This commit is contained in:
parent
e8375afe40
commit
e4d4442cdb
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 {
|
||||
|
|
Loading…
Reference in New Issue