From a8d22b75658534175376362b5278670a4bd0c833 Mon Sep 17 00:00:00 2001 From: Keeper Date: Fri, 28 Aug 2015 00:08:36 -0400 Subject: [PATCH] CHG: raise time between createStage and renderImage deatil: if using fonticons zr-spin to customize loading indicator, the css3 animation may not work in safari, raise time between dom adding and animations --- lib/gallery.js | 2 +- src/gallery.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gallery.js b/lib/gallery.js index f259237..c33dff6 100644 --- a/lib/gallery.js +++ b/lib/gallery.js @@ -105,7 +105,7 @@ Gallery = (function(superClass) { }); }); }; - })(this)), 5); + })(this)), 200); }; Gallery.prototype._bind = function() { diff --git a/src/gallery.coffee b/src/gallery.coffee index 1abfb09..13d06f7 100644 --- a/src/gallery.coffee +++ b/src/gallery.coffee @@ -95,7 +95,7 @@ class Gallery extends SimpleModule @_initRoutate() @gallery.one @util.transitionEnd(), (e) => @_zoomInPosition() - ), 5 + ), 200 _bind: () ->