mirror of
https://github.com/twitter/twemoji.git
synced 2025-08-02 22:26:49 +09:00
modified reset during the loop
This commit is contained in:
@ -327,7 +327,7 @@ define(function () {
|
||||
var
|
||||
allText = grabAllTextNodes(node, []),
|
||||
length = allText.length,
|
||||
modified = false,
|
||||
modified,
|
||||
fragment,
|
||||
subnode,
|
||||
text,
|
||||
@ -340,6 +340,7 @@ define(function () {
|
||||
variant,
|
||||
src;
|
||||
while (length--) {
|
||||
modified = false;
|
||||
fragment = document.createDocumentFragment();
|
||||
subnode = allText[length];
|
||||
text = subnode.nodeValue;
|
||||
|
Reference in New Issue
Block a user