[evolution] Composer: Correct typo in node property names
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Composer: Correct typo in node property names
- Date: Wed, 10 Mar 2021 14:57:32 +0000 (UTC)
commit 8ec17e104c1f89fdc3a22afb0cc558784cc5bea2
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 10 15:38:54 2021 +0100
Composer: Correct typo in node property names
data/webkit/e-editor.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/webkit/e-editor.js b/data/webkit/e-editor.js
index 9951e11807..e2ca304e8e 100644
--- a/data/webkit/e-editor.js
+++ b/data/webkit/e-editor.js
@@ -3558,10 +3558,10 @@ EvoEditor.AfterInputEvent = function(inputEvent, isWordDelim)
node = EvoEditor.requoteNodeParagraph(node);
if (node && inputEvent.inputType.startsWith("delete")) {
- if (node.nextSiblingElement)
-
EvoEditor.requoteNodeParagraph(node.nextSiblingElement);
- if (node.previousSiblingElement)
-
EvoEditor.requoteNodeParagraph(node.previousSiblingElement);
+ if (node.nextElementSibling)
+
EvoEditor.requoteNodeParagraph(node.nextElementSibling);
+ if (node.previousElementSibling)
+
EvoEditor.requoteNodeParagraph(node.previousElementSibling);
}
EvoSelection.Restore(document, selection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]