This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Fixes an issue with pinch zooming in previous versions of this fix: | |
//zooming worked, but the Reset Zoom button never appeared. Changing which tracker event is called takes care of this. | |
//Tested in 4.1.4 on Android | |
Highcharts.Chart.prototype.callbacks.push(function (chart) { | |
var hasTouch = document.documentElement.ontouchstart !== undefined, | |
mouseTracker = chart.pointer, | |
container = chart.container, | |
mouseMove; |