mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fix JSHint issue
This commit is contained in:
parent
dcc06eb3bb
commit
0b260d57cc
@ -422,7 +422,7 @@
|
||||
} else {
|
||||
|
||||
var _this = this;
|
||||
function getItemsForMode(mode) {
|
||||
var getItemsForMode = function(mode) {
|
||||
switch (mode) {
|
||||
case 'single':
|
||||
return _this.getElementAtEvent(e);
|
||||
@ -433,7 +433,7 @@
|
||||
default:
|
||||
return e;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
this.active = getItemsForMode(this.options.hover.mode);
|
||||
this.tooltipActive = getItemsForMode(this.options.tooltips.mode);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user