Skip to content

Commit

Permalink
calculation bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemmarsh committed Mar 8, 2015
1 parent bf2ad4b commit 0f39fee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/Mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ module.exports = function(settings, done) {

this.setState({
xPos: this.preventWindowOverflow(placement.x, 'x', elWidth, elHeight),
yPos: this.preventWindowOverflow(placement.y, 'x', elWidth, elHeight)
yPos: this.preventWindowOverflow(placement.y, 'y', elWidth, elHeight)
});
},

Expand Down
2 changes: 1 addition & 1 deletion lib/js/Mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ module.exports = function(settings, done) {

this.setState({
xPos: this.preventWindowOverflow(placement.x, 'x', elWidth, elHeight),
yPos: this.preventWindowOverflow(placement.y, 'x', elWidth, elHeight)
yPos: this.preventWindowOverflow(placement.y, 'y', elWidth, elHeight)
});
},

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": "react-tour-guide",
"version": "0.0.4",
"version": "0.0.5",
"author": "Jake Marsh <[email protected]>",
"description": "A ReactJS mixin to give new users a popup-based tour of your application.",
"repository": {
Expand Down

0 comments on commit 0f39fee

Please sign in to comment.