Precise DOM morphing
morphing typescript dom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Put original ariaBusy back

+4 -2
+2 -1
dist/morphlex.js
··· 8 8 } 9 9 } 10 10 if (isElement(node)) { 11 + const originalAriaBusy = node.ariaBusy; 11 12 node.ariaBusy = "true"; 12 13 new Morph(options).morph([node, reference]); 13 - node.ariaBusy = null; 14 + node.ariaBusy = originalAriaBusy; 14 15 } else { 15 16 new Morph(options).morph([node, reference]); 16 17 }
+2 -1
src/morphlex.ts
··· 60 60 } 61 61 62 62 if (isElement(node)) { 63 + const originalAriaBusy = node.ariaBusy; 63 64 node.ariaBusy = "true"; 64 65 new Morph(options).morph([node, reference]); 65 - node.ariaBusy = null; 66 + node.ariaBusy = originalAriaBusy; 66 67 } else { 67 68 new Morph(options).morph([node, reference]); 68 69 }