summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 14939cdc6..ac9b55bf3 100644
--- a/functions.js
+++ b/functions.js
@@ -155,7 +155,11 @@ function cleanSelectedList(element) {
if (!document.getElementById("feedCatHolder")) {
for (i = 0; i < content.childNodes.length; i++) {
var child = content.childNodes[i];
- child.className = child.className.replace("Selected", "");
+ try {
+ child.className = child.className.replace("Selected", "");
+ } catch (e) {
+ //
+ }
}
} else {
for (i = 0; i < content.childNodes.length; i++) {