fixed hideHover=auto for line/area chart

This commit is contained in:
tiraeth 2013-01-02 12:19:52 +01:00
parent 4f53479cf0
commit 2489c1a430
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