From: Alexander Ebert Date: Mon, 2 Mar 2015 10:41:52 +0000 (+0100) Subject: Fixed quote selection not working in IE11 X-Git-Tag: 2.1.1~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9bb22d1b9fdd84efbe695e19f8ef2042f5f6ce32;p=GitHub%2FWoltLab%2FWCF.git Fixed quote selection not working in IE11 --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 5232d5f30f..4ed29748d2 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -2149,14 +2149,14 @@ WCF.Message.Quote.Handler = Class.extend({ * @return boolean */ _elementInsideContainer: function(element, container) { - if (element.nodeType === Node.TEXT_NODE) element = element.parentElement; + if (element.nodeType === Node.TEXT_NODE) element = element.parentNode; while (element) { if (element === container) { return true; } - element = element.parentElement; + element = element.parentNode; } return false;