diff --git a/dist/js/Mixin.js b/dist/js/Mixin.js index 8f0f6f5..41bf6eb 100644 --- a/dist/js/Mixin.js +++ b/dist/js/Mixin.js @@ -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) }); }, diff --git a/lib/js/Mixin.js b/lib/js/Mixin.js index a362829..6de6c17 100644 --- a/lib/js/Mixin.js +++ b/lib/js/Mixin.js @@ -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) }); }, diff --git a/package.json b/package.json index 63fe317..213b0d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-tour-guide", - "version": "0.0.4", + "version": "0.0.5", "author": "Jake Marsh ", "description": "A ReactJS mixin to give new users a popup-based tour of your application.", "repository": {