diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index 577ead48b56e..cf5962b3c55c 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -210,7 +210,7 @@ , $e = this.$element , o = this.options - title = $e.attr('data-original-title') + title = $e.data('original-title') || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) return title