mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Fixed #99 with requestAnimationFrame polyfill
This commit is contained in:
@ -192,7 +192,7 @@
|
||||
var _this = this,
|
||||
finalOffsetX, content, ratio, slideWidth, totalWidth, offsetX;
|
||||
|
||||
window.requestAnimationFrame(function() {
|
||||
window.rAF(function() {
|
||||
|
||||
// We didn't have a drag, so just init and leave
|
||||
if(!_this._drag) {
|
||||
@ -285,7 +285,7 @@
|
||||
_handleDrag: function(e) {
|
||||
var _this = this;
|
||||
|
||||
window.requestAnimationFrame(function() {
|
||||
window.rAF(function() {
|
||||
var content;
|
||||
|
||||
// We really aren't dragging
|
||||
|
||||
Reference in New Issue
Block a user