Remove textnode checks before applying firefox double double qutoes fix

82570ef31d86bce75d925a9c0d84f4781f1ec627

maver <christian.pahren@googlemail.com>

Signed
1 files changed, +1 -2Showing whitespace changes
public/scripts/browser-fixes.js+1 -2
@@ -7,8 +7,7 @@ function sanitizeInlineQuotationOnCopy() {
77 // To work around this, take the selection and transform <q> to <span> before calling toString().
88 document.addEventListener('copy', function (event) {
99 const selection = window.getSelection();
1010 if (selection.anchorNode.nodeName !== '#text' || selection.focusNode.nodeName !== '#text' || !selection.anchorNode?.parentElement.closest('.mes_text')) {
11- // Complex selection, skip.
1211 return;
1312 }
1413