]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix: tooltips checks indent 1632/head
authorPascoual <pascoualito@gmail.com>
Tue, 10 Nov 2015 00:00:30 +0000 (01:00 +0100)
committerPascoual <pascoualito@gmail.com>
Tue, 10 Nov 2015 00:00:30 +0000 (01:00 +0100)
src/core/core.controller.js

index 1d3e42ccb267e8e05192d4732479bf13b60031b6..47236376bc3bbd1143dfc809861738f1d70884e6 100644 (file)
                                        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:
                                        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: