summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js20
1 files changed, 18 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 7faf42874..ebb1bb8f3 100644
--- a/functions.js
+++ b/functions.js
@@ -124,10 +124,18 @@ function hotkey_handler(e) {
}
-function cleanSelected(element) {
+function cleanSelectedList(element) {
var content = document.getElementById(element);
- var rows = new Array();
+ for (i = 0; i < content.childNodes.length; i++) {
+ content.childNodes[i].className = content.childNodes[i].className.replace("Selected", "");
+ }
+
+}
+
+
+function cleanSelected(element) {
+ var content = document.getElementById(element);
for (i = 0; i < content.rows.length; i++) {
content.rows[i].className = content.rows[i].className.replace("Selected", "");
@@ -247,4 +255,12 @@ function disableContainerChildren(id, disable, doc) {
}
+function gotoPreferences() {
+ document.location.href = "prefs.php";
+}
+
+function gotoMain() {
+ document.location.href = "tt-rss.php";
+}
+