changeset 21:2edd68951454

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Aug 2022 20:03:27 -0600
parents cf42d9b17c25
children 499f38b5eeff
files src/sceditor.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r cf42d9b17c25 -r 2edd68951454 src/sceditor.js
--- a/src/sceditor.js	Mon Aug 08 18:17:55 2022 -0600
+++ b/src/sceditor.js	Mon Aug 08 20:03:27 2022 -0600
@@ -5271,7 +5271,7 @@
 		  if (RETURN_DOM_FRAGMENT) {
 			//returnNode = createDocumentFragment.call(body.ownerDocument);
 			// untested
-			returnNode = body.ownerDocument.createDocumentFragment.call();
+			returnNode = body.ownerDocument.createDocumentFragment();
 
 			while (body.firstChild) {
 			  // eslint-disable-next-line unicorn/prefer-node-append