Skip to content

Commit

Permalink
Merge pull request nolimits4web#333 from visualspace/master
Browse files Browse the repository at this point in the history
Check for onInit instead of onFirstInit before calling onInit.
  • Loading branch information
nolimits4web committed Aug 28, 2013
2 parents 436b0b7 + 1eeb8aa commit 6c25fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/idangerous.swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ var Swiper = function (selector, params) {
}
else {
_this.callPlugins('onInit');
if (params.onFirstInit) params.onInit(_this);
if (params.onInit) params.onInit(_this);
}
_this.initialized = true;
}
Expand Down

0 comments on commit 6c25fd0

Please sign in to comment.