diff --git a/lib/morris.bar.coffee b/lib/morris.bar.coffee index fba8037..4f41d4f 100644 --- a/lib/morris.bar.coffee +++ b/lib/morris.bar.coffee @@ -211,7 +211,7 @@ class Morris.Bar extends Morris.Grid # # @private onGridClick: (x, y) => - index = @hitTest(x) + index = @hitTest(x, y) @fire 'click', index, @data[index].src, x, y # hover movement event handler