From 9bb22d1b9fdd84efbe695e19f8ef2042f5f6ce32 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 2 Mar 2015 11:41:52 +0100 Subject: [PATCH] Fixed quote selection not working in IE11 --- wcfsetup/install/files/js/WCF.Message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1