From c8630d18491c250515536eaf4134ead79185c066 Mon Sep 17 00:00:00 2001 From: Ivan Novikov Date: Thu, 10 Jan 2013 14:14:39 +0400 Subject: [PATCH] Add passing offsets over plotpan event Unified this behavior with plotzoom event as in pull #34 flot/flot@1b6c4e933ade3f03d634dfaa6357e82beda3bc55 --- jquery.flot.navigate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.navigate.js b/jquery.flot.navigate.js index e08476c..d5deebc 100644 --- a/jquery.flot.navigate.js +++ b/jquery.flot.navigate.js @@ -319,7 +319,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L plot.draw(); if (!args.preventEvent) - plot.getPlaceholder().trigger("plotpan", [ plot ]); + plot.getPlaceholder().trigger("plotpan", [ plot, args ]); }; function shutdown(plot, eventHolder) {