Skip to content

Commit

Permalink
Merge pull request #89 from kaesonho/patch-1
Browse files Browse the repository at this point in the history
be more defensive
  • Loading branch information
kaesonho committed Apr 15, 2016
2 parents 1f37818 + 9a11e73 commit d162177
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 d162177

Please sign in to comment.