summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 68996ae54..c5996512b 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2699,7 +2699,7 @@ function rcube_webmail()
this.sort_subscription_list();
this.init_subscription_list();
- if (selection)
+ if (selection && document.getElementById('rcmrow'+selection))
this.subscription_list.select_row(selection);
if (document.getElementById('rcmrow'+id).scrollIntoView)