summaryrefslogtreecommitdiff
path: root/static/f
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-05-21 14:18:22 +0200
committerYorhel <git@yorhel.nl>2009-05-21 14:18:22 +0200
commit94330e09f1ad42b1048e1192a1ac6d3580c2a3a7 (patch)
treecf45607e05d865f5c696130609da67ffba90aae7 /static/f
parentcc9183bfec6e459ea94da0b5dc32976757f715a4 (diff)
Got rid of JS error on /r
Diffstat (limited to 'static/f')
-rw-r--r--static/f/script.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/f/script.js b/static/f/script.js
index b555c662..9e87fd65 100644
--- a/static/f/script.js
+++ b/static/f/script.js
@@ -66,6 +66,8 @@ function searchInit() {
return false;
});
+ if(!x('catselect'))
+ return;
var l = x('catselect').getElementsByTagName('li');
for(i=0;i<l.length;i++)
if(l[i].id.substr(0,4) == 'cat_')