diff options
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index f81f19d1d..bfab0035f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3473,7 +3473,7 @@ function rcube_webmail() if (item = this.get_folder_li(mbox)) { // set new text - text_obj = item.firstChild.nextSibling; + text_obj = item.getElementsByTagName('a')[0]; reg = /\s+\([0-9]+\)$/i; if (count && text_obj.innerHTML.match(reg)) |