]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix jshint issue 2463/head
authorEvert Timberg <evert.timberg+github@gmail.com>
Thu, 5 May 2016 02:16:07 +0000 (22:16 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Thu, 5 May 2016 02:16:07 +0000 (22:16 -0400)
src/elements/element.point.js

index e7dac76b4f8dad1131ab658ce28adc5f7319f43d..93f59be1fd76dcfcd643c67ff9502729346195d7 100644 (file)
@@ -21,7 +21,7 @@ module.exports = function(Chart) {
        Chart.elements.Point = Chart.Element.extend({
                inRange: function(mouseX, mouseY) {
                        var vm = this._view;
-                       return vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false
+                       return vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;
                },
                inLabelRange: function(mouseX) {
                        var vm = this._view;