Skip to content

Commit

Permalink
Fix infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann committed Jun 1, 2024
1 parent 449ebce commit 24e7935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/__mocks__/dijit/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function findWidgets(root, skipNode) {
var outAry = [];

function getChildrenHelper (node) {
for(var el = root.firstChild; el; el = node.nextSibling){
for(var el = node.firstChild; el; el = el.nextSibling){
if(el.getAttribute && el.getAttribute("widgetid")){
outAry.push(el);
}else if(el !== skipNode){
Expand Down

0 comments on commit 24e7935

Please sign in to comment.