Skip to content

Commit

Permalink
Bump 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kuy committed Apr 10, 2016
1 parent 5d01fef commit 86e03db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ var Tooltip = function (_Component) {
value: function componentWillReceiveProps(nextProps) {
var place = nextProps.place;
var content = nextProps.content;
var children = nextProps.children;

var origin = (0, _utils.originOrEl)(nextProps);
if (origin && ((0, _utils.originOrEl)(this.props) != origin || this.props.place !== place || this.props.content !== content)) {
if (origin && ((0, _utils.originOrEl)(this.props) != origin || this.props.place !== place || this.props.content !== content || this.props.children !== children)) {
this.updatePosition(nextProps);
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-tooltip",
"version": "0.5.2",
"version": "0.5.3",
"description": "A tooltip React component for Redux",
"main": "./lib/index.js",
"repository": {
Expand Down

0 comments on commit 86e03db

Please sign in to comment.