From 94330e09f1ad42b1048e1192a1ac6d3580c2a3a7 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 21 May 2009 14:18:22 +0200 Subject: Got rid of JS error on /r --- static/f/script.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'static') 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