changes to flot.events

pull/21/head
Torkel Ödegaard 12 years ago
parent 8a469863d4
commit 0524427a3b
  1. 27
      src/vendor/jquery/jquery.flot.events.js

@ -349,34 +349,7 @@
function(){
var pos = $(this).offset();
/*// check if the mouse is not already over the event
if ($(this).data("bouncing") == false || $(this).data("bouncing") == undefined) {
// check the div is not already bouncing
if ($(this).position().top == $(this).data("top")) {
$(this).effect("bounce", {
times: 3
}, 300);
}
$(this).data("bouncing", true);
_showTooltip(pos.left + $(this).width() / 2, pos.top, $(this).data("event"));
}*/
_showTooltip(pos.left + $(this).width() / 2, pos.top, $(this).data("event"));
if (event.min != event.max) {
plot.setSelection({
xaxis: {
from: event.min,
to: event.max
},
yaxis: {
from: yaxis.min,
to: yaxis.max
}
});
}
},
// mouseleave
function(){

Loading…
Cancel
Save