diff options
author | Yorhel <git@yorhel.nl> | 2009-05-21 14:18:22 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-05-21 14:18:22 +0200 |
commit | 94330e09f1ad42b1048e1192a1ac6d3580c2a3a7 (patch) | |
tree | cf45607e05d865f5c696130609da67ffba90aae7 /static | |
parent | cc9183bfec6e459ea94da0b5dc32976757f715a4 (diff) |
Got rid of JS error on /r
Diffstat (limited to 'static')
-rw-r--r-- | static/f/script.js | 2 |
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_') |