summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-10 10:52:24 +0100
committerAndrew Dolgov <[email protected]>2007-08-10 10:52:24 +0100
commit225ec0d4c26762d32b1d5684cd2429ae356fe177 (patch)
tree9bbabad227a394dbea49ceb3b96a18841cae7bc3 /feedlist.js
parent68c80eec185a6c420e1bbb0a3d4680e86d33448a (diff)
add dropout effect when hiding read feeds
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/feedlist.js b/feedlist.js
index c0257fd91..8c0420d0e 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -193,7 +193,7 @@ function toggleCollapseCat(cat) {
var cat_list = document.getElementById("FCATLIST-" + cat).parentNode;
var caption = document.getElementById("FCAP-" + cat);
- if (cat_list.className.match("invisible")) {
+/* if (cat_list.className.match("invisible")) {
cat_list.className = "";
caption.innerHTML = caption.innerHTML.replace("...", "");
if (cat == 0) {
@@ -204,8 +204,11 @@ function toggleCollapseCat(cat) {
caption.innerHTML = caption.innerHTML + "...";
if (cat == 0) {
setCookie("ttrss_vf_uclps", "1");
- }
- }
+ }
+
+ } */
+
+ Effect.toggle('FCATLIST-' + cat, 'blind', { duration: 0.5 });
new Ajax.Request("backend.php?op=feeds&subop=collapse&cid=" +
param_escape(cat));