From: Renault John Lecoultre Date: Fri, 13 Jan 2012 21:33:05 +0000 (+0100) Subject: Fixed when placement is a function X-Git-Tag: v2.0.0~6^2~295^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F995%2Fhead;p=thirdparty%2Fbootstrap.git Fixed when placement is a function --- diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index 241a44e248..8ce30ab82d 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -115,7 +115,7 @@ } placement = typeof this.options.placement == 'function' ? - thing.call(this, $tip[0], this.$element[0]) : + this.options.placement.call(this, $tip[0], this.$element[0]) : this.options.placement inside = /in/.test(placement) @@ -267,4 +267,4 @@ , template: '
' } -}( window.jQuery ) \ No newline at end of file +}( window.jQuery )