Permalink
Browse files

fix api issue, closes #8

  • Loading branch information...
jasonenglish committed Jul 21, 2012
1 parent ba59503 commit 86ac1b40a0662fe039458baac9d33364cd18a443
Showing with 2 additions and 1 deletion.
  1. +2 −1 jquery.flex.js
View
@@ -287,7 +287,8 @@
if (p) return p;
this.each(function () {
- $(this).data("flex", new Flex( this, opts ));
+ p = new Flex( this, opts );
+ $(this).data("flex", p);
});
return opts.api ? p : this;

0 comments on commit 86ac1b4

Please sign in to comment.