mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-04-03 15:19:15 +08:00
Merge cf96c3bcac4301b069b66c7b240687ca00bd68c7 into afecf2af5d897b763e5e8e28d46aad2f710ccad6
This commit is contained in:
commit
553a7951f5
@ -1434,6 +1434,9 @@ function observe(options) {
|
||||
observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT : _options$observeMutat;
|
||||
mo = new MUTATION_OBSERVER(function (objects) {
|
||||
if (disabled) return;
|
||||
if (!config.observeMutations) {
|
||||
return;
|
||||
}
|
||||
toArray(objects).forEach(function (mutationRecord) {
|
||||
if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
|
||||
if (config.searchPseudoElements) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user