]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
dont remove title attribute part 2
authorYohn <john.skem9@gmail.com>
Wed, 6 Feb 2013 11:17:48 +0000 (06:17 -0500)
committerYohn <john.skem9@gmail.com>
Wed, 6 Feb 2013 11:17:48 +0000 (06:17 -0500)
js/bootstrap-tooltip.js

index 915a87ea898b589db9a40444bc80544f13860e91..981319077e9bdb4ea0dcbee50dfe5715a54b4c51 100644 (file)
   , 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', '')
       }
     }