Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-04-13 09:58:49 +00:00
commit 841bf4f894
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ module.exports = React.createClass({
// creating/destroying large numbers of elements"
// (https://github.com/julianshapiro/velocity/issues/47)
const domNode = ReactDom.findDOMNode(this.nodes[k]);
Velocity.Utilities.removeData(domNode);
if (domNode) Velocity.Utilities.removeData(domNode);
}
this.nodes[k] = node;
},