]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixed when placement is a function 995/head
authorRenault John Lecoultre <renault.john@gmail.com>
Fri, 13 Jan 2012 21:33:05 +0000 (22:33 +0100)
committerRenault John Lecoultre <renault.john@gmail.com>
Fri, 13 Jan 2012 21:33:05 +0000 (22:33 +0100)
js/bootstrap-tooltip.js

index 241a44e248ce1a58ea3dce55eee3101e6519c752..8ce30ab82dcea35aee498d0edb58a8cc45114b84 100644 (file)
         }
 
         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)
   , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
   }
 
-}( window.jQuery )
\ No newline at end of file
+}( window.jQuery )