Commit dd3295da by Torkel Ödegaard

Merge pull request #3449 from EricSmekens/patch-1

Cleaned up jquery.flot.events.js
parents 1ebb18ae 58093941
......@@ -50,7 +50,7 @@
height: 10
};
var _events = [], _types, _eventsEnabled = false, lastRange;
var _events = [], _types, _eventsEnabled = false;
plot.getEvents = function(){
return _events;
......@@ -94,8 +94,6 @@
// check for first run
if (_events.length < 1) {
_lastRange = xaxis.max - xaxis.min;
// check for clustering
if (options.events.clustering) {
var ed = _clusterEvents(options.events.types, options.events.data, xaxis.max - xaxis.min);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment