Skip to content

Commit 92a26e9

Browse files
committed
Removed an invalid assignment to childNodes.
1 parent 69b42e1 commit 92a26e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jquery.syntax.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ Syntax.lib.webLinkProcess = function (queryURI, lucky) {
218218
var a = document.createElement('a');
219219
a.href = queryURI + encodeURIComponent(Syntax.innerText(element));
220220
a.className = element.className;
221-
a.childNodes = element.childNodes;
222221

222+
// Move children from <element> to <a>
223223
while (element.childNodes.length > 0)
224224
a.appendChild(element.childNodes[0]);
225225

0 commit comments

Comments
 (0)