diff src/sceditor.js @ 21:2edd68951454

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Aug 2022 20:03:27 -0600
parents cf42d9b17c25
children 499f38b5eeff
line wrap: on
line diff
--- 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