summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-12 10:58:44 +0100
committerAndrew Dolgov <[email protected]>2007-08-12 10:58:44 +0100
commit051c4d56cac9c3666accd2a2c791824ae2ccdc4e (patch)
treefbc76bc3afdc123cab135160c6d4acf0ce012a9c /prefs.js
parent68a89c301e26d2109a57f9438c186cc84b8a758d (diff)
feed browser, change slide effects to appear/fade
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/prefs.js b/prefs.js
index 249a4d55c..a3012d11d 100644
--- a/prefs.js
+++ b/prefs.js
@@ -50,7 +50,7 @@ function expand_feed_callback() {
container.innerHTML=xmlhttp.responseText;
// container.style.display = "block";
// p_notify("");
- Effect.SlideDown(container, {duration : 0.5});
+ Effect.Appear(container, {duration : 0.5});
} catch (e) {
exception_error("expand_feed_callback", e);
}
@@ -1532,15 +1532,14 @@ function browserToggleExpand(id) {
return
}
- var d = document.getElementById("BRDET-" + id);
+/* if (feed_to_expand && id != feed_to_expand) {
+ Effect.Fade('BRDET-' + feed_to_expand, {duration : 0.5});
+ } */
-/* if (d.style.display == "block") {
- d.style.display = "none";
-
- } else { */
+ var d = document.getElementById("BRDET-" + id);
if (Element.visible(d)) {
- Effect.SlideUp(d, {duration : 0.5});
+ Effect.Fade(d, {duration : 0.5});
} else {
feed_to_expand = id;