Permalink
Browse files

#2 pass jquery object to success callback

  • Loading branch information...
kolyuchiy committed Oct 13, 2011
1 parent 689bda7 commit 9ea8d8c1318be47f06cb313a5bed994686d0a31f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery.openxtag.js
View
@@ -73,7 +73,7 @@
else {
$this.append(markup);
if (typeof success == 'function') {
- setTimeout(success, 0);
+ setTimeout(function () { success.call($this); }, 0);
}
}
})(markup);

0 comments on commit 9ea8d8c

Please sign in to comment.