From: Alexander Ebert Date: Tue, 8 Oct 2013 16:43:06 +0000 (+0200) Subject: Scrolling to message preview on request X-Git-Tag: 2.0.0_Beta_11~59 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e86dcaaad14c36c0dd2d5dc924a231c43824dae;p=GitHub%2FWoltLab%2FWCF.git Scrolling to message preview on request --- 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); }, /**