Skip to content

Commit e431648

Browse files
committed
add the origin to the helper of functionAfter
1 parent eae53c2 commit e431648

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/tooltipster.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,8 @@ $.Tooltipster.prototype = {
15331533
// call our constructor custom callback function
15341534
if (self.__options.functionAfter) {
15351535
self.__options.functionAfter.call(self, self, {
1536-
event: event
1536+
event: event,
1537+
origin: self._$origin[0]
15371538
});
15381539
}
15391540

0 commit comments

Comments
 (0)