vendor/assets/javascripts/bootstrap-tooltip.js in anjlab-bootstrap-rails-2.0.1.1 vs vendor/assets/javascripts/bootstrap-tooltip.js in anjlab-bootstrap-rails-2.0.2.0

- old
+ new

@@ -1,7 +1,7 @@ /* =========================================================== - * bootstrap-tooltip.js v2.0.1 + * bootstrap-tooltip.js v2.0.2 * http://twitter.github.com/bootstrap/javascript.html#tooltips * Inspired by the original jQuery.tipsy by Jason Frame * =========================================================== * Copyright 2012 Twitter, Inc. * @@ -204,10 +204,10 @@ , o = this.options title = $e.attr('data-original-title') || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) - title = title.toString().replace(/(^\s*|\s*$)/, "") + title = (title || '').toString().replace(/(^\s*|\s*$)/, "") return title } , tip: function () { \ No newline at end of file