Skip to content

Commit

Permalink
Next, the handler re-uses previously released preload bindings and tr…
Browse files Browse the repository at this point in the history
…iggers `"preload"` event #190
  • Loading branch information
pisi committed May 10, 2013
1 parent 08aa2da commit 49cc1ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jquery.reel.js
Expand Up @@ -1388,6 +1388,9 @@ jQuery.reel || (function($, window, document, undefined){
imageChange: function(e, nil, image){
preloader.$.remove();
t.siblings(dot(cached_klass)).remove();
t.parent().bind(_preloaded_, on.instance.preloaded);
pool.bind(_tick_+dot(_preload_), on.pool[_tick_+dot(_preload_)]);
t.trigger('preload');
},

// ---------
Expand Down

0 comments on commit 49cc1ef

Please sign in to comment.