From 7213c1dda0bdb8b7a88636f1fca5b265680873de Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 8 Oct 2014 13:52:28 +0200 Subject: [PATCH] reset preview pane position when clicking on the next message --- webui/view/javascript/piler-in.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webui/view/javascript/piler-in.js b/webui/view/javascript/piler-in.js index 4f208695..0dc28104 100644 --- a/webui/view/javascript/piler-in.js +++ b/webui/view/javascript/piler-in.js @@ -267,6 +267,8 @@ var Piler = Piler.prev_message_id = id; Piler.view_message(id); + + $('#mailpreviewframe').scrollTop(0); },