diff --git a/lib/morris.hover.coffee b/lib/morris.hover.coffee index ffc600c..674d3b7 100644 --- a/lib/morris.hover.coffee +++ b/lib/morris.hover.coffee @@ -32,7 +32,7 @@ class Morris.Hover top = parentHeight / 2 - hoverHeight / 2 else top = parentHeight / 2 - hoverHeight / 2 - @el.css(left: left + "px", top: top + "px") + @el.css(left: left + "px", top: parseInt(top) + "px") show: -> @el.show()