Skip to content

Commit

Permalink
Update 95_renderer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Jul 5, 2019
1 parent 0fab61d commit 05f80a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 95_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1035,18 +1035,18 @@ function NewRenderer() {
return false;
}

let info = this.info_handler.sorted()[div_index]; // Possibly undefined
let info = this.info_handler.sorted()[div_index]; // Possibly undefined

if (!info || Array.isArray(info.pv) === false || info.pv.length === 0) {
return false;
}

if (!config.hover_method || config.hover_method === 0) {
return this.hoverdraw_animate(div_index, info); // Sets this.hoverdraw_div
return this.hoverdraw_animate(div_index, info); // Sets this.hoverdraw_div
} else if (config.hover_method === 1) {
return this.hoverdraw_single(div_index, overlist); // Sets this.hoverdraw_div
return this.hoverdraw_single(div_index, overlist); // Sets this.hoverdraw_div
} else {
return false; // Caller must set this.hoverdraw_div to -1
return false; // Caller must set this.hoverdraw_div to -1
}
};

Expand Down

0 comments on commit 05f80a0

Please sign in to comment.