From c35a76cfb0ba95b9063a98b69ec09f99dae9adef Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 5 Jun 2020 12:45:24 +0200 Subject: [PATCH] Indirect variable overshadowing --- .../files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js | 1 - 1 file changed, 1 deletion(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js index aa381ac369..30498d441e 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js @@ -389,7 +389,6 @@ $.Redactor.prototype.WoltLabKeydown = function() { range.selectNodeContents(listItem); range.collapse(false); - var selection = window.getSelection(); selection.removeAllRanges(); selection.addRange(range); } -- 2.20.1