Permalink
Browse files

attempt to fix Android 4.1 zoom freeze, #1182

  • Loading branch information...
mourner committed Jan 11, 2013
1 parent 6dd0dea commit 64ca0af124b7145e8c2a746e2fb087b2298a4b72
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/dom/DomUtil.js
@@ -226,8 +226,11 @@ L.DomUtil = {
L.DomUtil.TRANSFORM = L.DomUtil.testProp(
['transform', 'WebkitTransform', 'OTransform', 'MozTransform', 'msTransform']);

// webkitTransition comes first because some browser versions that drop vendor prefix don't do
// the same for the transitionend event, in particular the Android 4.1 stock browser

L.DomUtil.TRANSITION = L.DomUtil.testProp(
['transition', 'webkitTransition', 'OTransition', 'MozTransition', 'msTransition']);
['webkitTransition', 'transition', 'OTransition', 'MozTransition', 'msTransition']);

L.DomUtil.TRANSITION_END =
L.DomUtil.TRANSITION === 'webkitTransition' || L.DomUtil.TRANSITION === 'OTransition' ?

0 comments on commit 64ca0af

Please sign in to comment.