Skip to content

Commit

Permalink
Fix hideHover (fixes #236).
Browse files Browse the repository at this point in the history
  • Loading branch information
oesmith committed May 12, 2013
1 parent 8bc716f commit 8493b6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/morris.bar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class Morris.Bar extends Morris.Grid
#
# @private
onHoverOut: =>
if @options.hideHover is 'auto'
if @options.hideHover isnt false
@hover.hide()
# hover content for a point
Expand Down
2 changes: 1 addition & 1 deletion lib/morris.line.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class Morris.Line extends Morris.Grid
#
# @private
onHoverOut: =>
if @options.hideHover is 'auto'
if @options.hideHover isnt false
@displayHoverForRow(null)

# display a hover popup over the given row
Expand Down
4 changes: 2 additions & 2 deletions morris.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion morris.min.js

Large diffs are not rendered by default.

0 comments on commit 8493b6e

Please sign in to comment.