From 5e86dcaaad14c36c0dd2d5dc924a231c43824dae Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 8 Oct 2013 18:43:06 +0200 Subject: [PATCH] Scrolling to message preview on request --- wcfsetup/install/files/js/WCF.Message.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index dca2528a84..77dfd789bc 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -325,6 +325,8 @@ WCF.Message.DefaultPreview = WCF.Message.Preview.extend({ } $preview.find('div:eq(0)').html(data.returnValues.message); + + new WCF.Effect.Scroll().scrollTo($preview); }, /** -- 2.20.1