Skip to content

Commit

Permalink
be more defensive
Browse files Browse the repository at this point in the history
  • Loading branch information
kaesonho committed Apr 15, 2016
1 parent 1f37818 commit 9a11e73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mixins/I13nUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ var I13nUtils = {
* @return {Object} i13n node
*/
getI13nNode: function () {
if (!this._getReactI13n()) {
return;
}
return this._i13nNode || this._getParentI13nNode();
},

Expand Down

0 comments on commit 9a11e73

Please sign in to comment.