Merge pull request #153 from tiraeth/fix-hide-hover

Fixed hideHover=auto for line/area chart
This commit is contained in:
Olly Smith 2013-01-24 13:04:36 -08:00
commit 1ecd8f95c9
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ class Morris.Line extends Morris.Grid
# @private # @private
onHoverOut: => onHoverOut: =>
if @options.hideHover is 'auto' if @options.hideHover is 'auto'
@displayHoverForIndex(null) @displayHoverForRow(null)
# display a hover popup over the given row # display a hover popup over the given row
# #

View File

@ -642,7 +642,7 @@
Line.prototype.onHoverOut = function() { Line.prototype.onHoverOut = function() {
if (this.options.hideHover === 'auto') { if (this.options.hideHover === 'auto') {
return this.displayHoverForIndex(null); return this.displayHoverForRow(null);
} }
}; };

2
morris.min.js vendored

File diff suppressed because one or more lines are too long