diff options
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/common.js b/program/js/common.js index 1a5c0519c..be98feb28 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -642,7 +642,7 @@ if (bw.ie) var i = 0; var o = document._getElementById(id); - if (o.id != id) + if (!o || o.id != id) while ((o = document.all[i]) && o.id != id) i++; |