Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#2 pass jquery object to success callback

  • Loading branch information...
commit 9ea8d8c1318be47f06cb313a5bed994686d0a31f 1 parent 689bda7
@kolyuchiy kolyuchiy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/jquery.openxtag.js
View
2  src/jquery.openxtag.js
@@ -73,7 +73,7 @@
else {
$this.append(markup);
if (typeof success == 'function') {
- setTimeout(success, 0);
+ setTimeout(function () { success.call($this); }, 0);
}
}
})(markup);
Please sign in to comment.
Something went wrong with that request. Please try again.