diff --git a/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js b/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js index e3e310e020..99b88d0f0d 100644 --- a/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js +++ b/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js @@ -950,7 +950,7 @@ if ( !( (window.faces && window.faces.specversion && window.faces.specversion >= newElement = newElement.firstChild; } - replaceNode(element,newElement); + replaceNode(newElement,element); runScripts(scripts); } else if (element.nodeName.toLowerCase() === 'input') {