We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 057ca90 commit 0c8ce97Copy full SHA for 0c8ce97
1 file changed
jquery.initialize.js
@@ -95,7 +95,7 @@
95
// If the selector is fraternal, query siblings of the mutated node for matches.
96
if (msobserver.isFraternal)
97
matches.push.apply(matches, mutations[m].target.parentElement.querySelectorAll(msobserver.selector));
98
- else
+ else
99
matches.push.apply(matches, mutations[m].target.querySelectorAll(msobserver.selector));
100
}
101
@@ -120,7 +120,7 @@
120
121
122
// For each match, call the callback using jQuery.each() to initialize the element (once only.)
123
- for (var i = 0; i < matches.length; i++)
+ for (var i = 0; i < matches.length; i++)
124
$(matches[i]).each(msobserver.callback);
125
});
126
0 commit comments