annotations: mini fix to event manager

This commit is contained in:
Torkel Ödegaard 2017-04-18 17:09:06 +02:00
parent 809467955a
commit 73718afb79

View File

@ -58,7 +58,7 @@ export class EventManager {
}
addFlotEvents(annotations, flotOptions) {
if (this.event || annotations.length === 0) {
if (!this.event || annotations.length === 0) {
return;
}