From fab8a5cb9864fe939e687966fd9a5f5f29102bdc Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Wed, 4 Mar 2015 17:35:46 -0300 Subject: #300 Removed the scroll reset whe update the mail list, and just run scroll reset when user change the tags --- web-ui/app/js/mail_list/ui/mail_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web-ui') diff --git a/web-ui/app/js/mail_list/ui/mail_list.js b/web-ui/app/js/mail_list/ui/mail_list.js index 69327a57..18d36049 100644 --- a/web-ui/app/js/mail_list/ui/mail_list.js +++ b/web-ui/app/js/mail_list/ui/mail_list.js @@ -93,7 +93,6 @@ define( this.showMails = function (event, data) { this.updateCurrentTagAndMail(data); this.refreshMailList(null, data); - this.triggerScrollReset(); this.triggerMailOpenForPopState(data); this.openMailFromUrl(); }; @@ -114,6 +113,7 @@ define( this.cleanSelected = function () { this.attr.currentMailIdent = ''; + this.triggerScrollReset(); }; this.respondWithCheckedMails = function (ev, caller) { -- cgit v1.2.3