mol_tree2 1.0.110 → 1.0.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.test.js CHANGED
@@ -1862,7 +1862,7 @@ var $;
1862
1862
  if (key === 'id')
1863
1863
  continue;
1864
1864
  if (typeof props[key] === 'string') {
1865
- if (key in node)
1865
+ if (typeof node[key] === 'string')
1866
1866
  node[key] = props[key];
1867
1867
  node.setAttribute(key, props[key]);
1868
1868
  }