From: Pascoual Date: Tue, 10 Nov 2015 00:00:30 +0000 (+0100) Subject: Fix: tooltips checks indent X-Git-Tag: 2.0.0-beta1~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1632%2Fhead;p=thirdparty%2FChart.js.git Fix: tooltips checks indent --- diff --git a/src/core/core.controller.js b/src/core/core.controller.js index 1d3e42ccb..47236376b 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -439,8 +439,8 @@ case 'label': case 'dataset': for (var i = 0; i < this.lastActive.length; i++) { - if (this.lastActive[i]) - this.data.datasets[this.lastActive[i]._datasetIndex].controller.removeHoverStyle(this.lastActive[i], this.lastActive[i]._datasetIndex, this.lastActive[i]._index); + if (this.lastActive[i]) + this.data.datasets[this.lastActive[i]._datasetIndex].controller.removeHoverStyle(this.lastActive[i], this.lastActive[i]._datasetIndex, this.lastActive[i]._index); } break; default: @@ -457,8 +457,8 @@ case 'label': case 'dataset': for (var j = 0; j < this.active.length; j++) { - if (this.active[j]) - this.data.datasets[this.active[j]._datasetIndex].controller.setHoverStyle(this.active[j]); + if (this.active[j]) + this.data.datasets[this.active[j]._datasetIndex].controller.setHoverStyle(this.active[j]); } break; default: