mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
Fixing up recent refactoring.
This commit is contained in:
parent
722cfd02fe
commit
3613f6e780
1 changed files with 11 additions and 11 deletions
|
|
@ -3569,22 +3569,22 @@
|
|||
if(lcTagName == 'input' || lcTagName == 'textarea' || lcTagName == 'iframe') {
|
||||
inputElementAdditions.push(addedNode);
|
||||
}
|
||||
}
|
||||
|
||||
// There also exists a 'mutation.removedNodes' array. We'll need to address that for issue #63.
|
||||
|
||||
/* After all mutations have been handled, we need to recompile our .sortedInputs array, but only.
|
||||
* if any have actually occurred.
|
||||
*/
|
||||
if(inputElementAdditions.length) {
|
||||
keymanweb.listInputs();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
for(var k = 0; k < inputElementAdditions.length; k++) {
|
||||
keymanweb._MutationAdditionObserved(inputElementAdditions[k]);
|
||||
}
|
||||
|
||||
// There also exists a 'mutation.removedNodes' array. We'll need to address that for issue #63, and its
|
||||
// respective _MutationRemovalObserved should be called here.
|
||||
|
||||
/* After all mutations have been handled, we need to recompile our .sortedInputs array, but only.
|
||||
* if any have actually occurred.
|
||||
*/
|
||||
if(inputElementAdditions.length) {
|
||||
keymanweb.listInputs();
|
||||
}
|
||||
});
|
||||
|
||||
var observationConfig = { childList: true, subtree: true };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue