From: Matthias Schmidt Date: Wed, 26 Jun 2013 13:20:53 +0000 (+0200) Subject: Fixes documentation X-Git-Tag: 2.0.0_Beta_5~124 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b9e14a42b8f59323831d99466f4cd9b16e19058;p=GitHub%2FWoltLab%2FWCF.git Fixes documentation --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index be33f096e3..a50abce16b 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -3019,8 +3019,9 @@ WCF.Message.UserMention = Class.extend({ $offsets.top += $jElement.height(); // add line height to top offset // merge text nodes before and after the temporary span element - // to avoid split text nodes at where one before which causes - // problems working with ranges and remove merged text node + // to avoid split text nodes which were one node before inserting + // the span element since split nodes can cause problems working + // with ranges and remove merged text node if (!$.browser.mozilla) { // firefox doesn't need this correction! $element.previousSibling.nodeValue += $element.nextSibling.nodeValue; $($element.nextSibling).remove();