Permalink
Browse files

fix test for ff3.6

  • Loading branch information...
1 parent abba321 commit 4f7c2fca0f18df5602a6796caba17278bd7ff4a4 @aFarkas committed Jul 11, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/unit/tests.js
View
@@ -246,7 +246,11 @@ test("form test", function() {
if(select.add){
- select.add(option);
+ try {
+ select.add(option);
+ } catch(er){
+ select.appendChild(option);
+ }
} else {
select.appendChild(option);
}

0 comments on commit 4f7c2fc

Please sign in to comment.