Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
targetをクラス内に保存するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
otto committed Feb 17, 2014
1 parent ed8fdd6 commit 3e98f26
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dist/jquery-supergallery-plugin2.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! jQuery Supergallery Plugin2 2014-01-22
/*! jQuery Supergallery Plugin2 2014-02-17
* Vertion : 1.4.1
* Dependencies : jQuery 1.8.0 - 2.0.3
* Author : Otto Kamiya (MegazalRock)
Expand Down Expand Up @@ -59,6 +59,7 @@
this.$nextBtn = this.$target.find(this.o.selectors.nextBtn);
this.$prevBtn = this.$target.find(this.o.selectors.prevBtn);
this.current = null;
this.target = null;
this.timerId = null;
this.num = this.$mainChildren.length;
this.length = this.num;
Expand Down Expand Up @@ -184,6 +185,7 @@
sg.isAnimate = false;
return false;
}
sg.target = n;

if(!sg.o.other.disablePageChangeStartEvent){
sg.$target.trigger('pageChangeStart',n);
Expand Down

0 comments on commit 3e98f26

Please sign in to comment.