Commit 057c086
committed
Fixed transitions on some Android 4.1 devices
On some devices (tested on a Samsung Galaxy S2), Android 4.1 is
erroneously reporting to support unprefixed transitions events, while
it’s in fact not implemented.
The solution is to test for the prefixed version first. The
WebKit-prefixed event has been moved on top of the tested events, and
while the Object properties order is not guaranteed in JavaScript (ES3,
section 4.3.3), it is the case in the targeted browser.1 parent d3758fc commit 057c086
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | | - | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments