a85b82090d9a736b69053a3408dbca1cb13d17fe
`click` events are fired only if the mouse action button is pressed. This prevents `click` events from being fired when the middle mouse button is used. Also, without this commit, in Chrome with emulated touch events enabled, double-clicking the map doesn't zoom the map. This is because `ol.BrowserFeature.HAS_TOUCH` is `false` in that environment. The commit fixes it by testing `isMouseActionButton` on mouse devices only.
OpenLayers 3
Welcome to OpenLayers 3!
Check out the hosted examples or poke around the evolving API docs.
Please see our guide on contributing if you're interested in getting involved.
Description
Languages
JavaScript
99%
CSS
0.6%
Handlebars
0.3%
Shell
0.1%
