From 3e328a2d687bac7ea1f28015eb7ccbb340a8e995 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Mon, 18 Aug 2003 11:56:17 +0000 Subject: [PATCH] bugfix for IE --- philter/philter/include/philter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/philter/philter/include/philter.js b/philter/philter/include/philter.js index 3cf2fe2..834f07c 100644 --- a/philter/philter/include/philter.js +++ b/philter/philter/include/philter.js @@ -26,10 +26,10 @@ function getElement(obj) { } function getNthElement(obj, index) { - if(document.all) - return document.all[obj][index]; if(document.getElementsByName) return document.getElementsByName(obj)[index]; + if(document.all) + return document.all[obj][index]; } /********** ORDER FORM FUNCTIONS **********/ -- 2.1.4