From: Yohn Date: Wed, 6 Feb 2013 11:17:48 +0000 (-0500) Subject: dont remove title attribute part 2 X-Git-Tag: v2.3.0^2~3^2~1^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=beb60309d1dc312bbb69ace8c47764af783792bf;p=thirdparty%2Fbootstrap.git dont remove title attribute part 2 --- diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index 915a87ea89..981319077e 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -245,7 +245,7 @@ , fixTitle: function () { var $e = this.$element if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { - $e.attr('data-original-title', $e.attr('title') || '').removeAttr('title') + $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') } }