Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
Fix for empty data.title value. Closes #145.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Hoogstad authored and kswedberg committed Sep 9, 2015
1 parent 1dcb5ee commit 0cb2b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.cluetip.js
Expand Up @@ -151,7 +151,7 @@
$.removeData(this, 'title');
$.removeData(this, 'cluetip');
}
if (data.title) {
if (data && data.title) {
$l.attrProp('title', data.title);
}
$l.unbind('.cluetip').unbind('cluetipMoc');
Expand Down

0 comments on commit 0cb2b10

Please sign in to comment.