Permalink
Browse files

fix(popover): getting title from title attribute

  • Loading branch information...
tmorehouse committed Sep 12, 2017
1 parent f099ac7 commit 685de6aea634a38f00f52515da177168d55e5245
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/classes/popover.js
@@ -88,7 +88,7 @@ class PopOver extends ToolTip {
}
if (!title) {
// Try and grab element's title attribute
title = getAttr(this.$element, 'title') || getAttr(this, 'data-original-title') || '';
title = getAttr(this.$element, 'title') || getAttr(this.$element, 'data-original-title') || '';
title = title.trim();
}
return title;

0 comments on commit 685de6a

Please sign in to comment.