Skip to content

Commit

Permalink
update c2 loader
Browse files Browse the repository at this point in the history
  • Loading branch information
malsup committed Nov 22, 2013
1 parent 9aadbd7 commit f4551b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jquery.cycle2.loader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! loader plugin for Cycle2; version: 20130307 */
/*! loader plugin for Cycle2; version: 20131121 */
(function($) {
"use strict";

Expand Down Expand Up @@ -53,7 +53,7 @@ $(document).on( 'cycle-bootstrap', function( e, opts ) {
else {
$(this).load(function() {
imageLoaded();
}).error(function() {
}).on("error", function() {
if ( --count === 0 ) {
// ignore this slide
opts.API.log('slide skipped; img not loaded:', this.src);
Expand Down
4 changes: 2 additions & 2 deletions min/jquery.cycle2.loader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4551b4

Please sign in to comment.