diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-13 17:09:02 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-13 17:09:02 +0000 |
| commit | 7e3b51410e31d5fb3fd8b70fe7b80511f86e8054 (patch) | |
| tree | 4899b517aeb3f0406588a8ef9ae29892ec2e12f1 /roundcubemail/program | |
| parent | cdb4843134338715877f2f2d4493c96dbedd84fd (diff) | |
-#1485349: fixed getElementById wrapper for IE
git-svn-id: https://svn.roundcube.net/trunk@1786 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js index 1a5c0519c..be98feb28 100644 --- a/roundcubemail/program/js/common.js +++ b/roundcubemail/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++; |
