Skip to content

Commit c4eb08f

Browse files
committed
Allow function for title
1 parent d5553dd commit c4eb08f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jTippy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
}
217217
//get string from function
218218
if( typeof trigger_event === 'undefined' || trigger_event ){
219-
if( typeof helper.title === 'function' ) helper.content = title();
219+
if( typeof helper.title === 'function' ) helper.content = helper.title();
220220
}
221221
//add the tooltip to the dom
222222
body.append(helper.createTooltipHTML());

jTippy.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jtippy",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "jQuery tooltip plugin",
55
"author": {
66
"name" : "HTMLGuy, LLC",

0 commit comments

Comments
 (0)